d = a + (7*362) b = 0 c = 0 (GOTO IF 0) a = d (GOTO IF NOT 0) if a odd output 1 if a even output 0 a = a / 2 GOTO with a