Double a number

We need to input a number, add it to itself and output the result.

INP A
LDA A
ADD A
STA C
OUT C

Assembler