title: Design an algorithm to input 2 numbers and then output the lowest number in little man computing
body: <p>I have a program I'm doing and I want to input two numbers so that the LMC can output the smallest one. MY code is giving me the biggest number, help me fix it.</p>
  
  <pre><code>INP
  STA first
  INP
  STA second
  
  SUB second
  BRP secondBig
  LDA second
  OUT
  BRA endProgram
  secondBig LDA second
  OUT
  endProgram HLT
  first DAT
  second DAT
  </code></pre>