IN A
IN B
; since gcd(1, b)==1, we can output 1, so a
OUT A
RETURN
; another way we can do this is subtract A from A and increment A by 1, this is the same thing and it solves the problem where mov, add, sub do not support constant values