MOV B 1
IN D
IN D
ADD D B
;E-l,F-r,G-x 
IN A
IN E
IN F
CMP A B
JZ 23
;t=1
IN G
; loop
LOAD E H
ADD H G
STORE E H
ADD E B
CMP E F
JNZ 14
; stop loop
MOV RES 0
JZ 32
;t=2
MOV H 0
LOAD E A ; start loop
ADD H A
ADD E B
CMP E F
; OUT E
JNZ 25 ; stop loop
OUT H ; stop t=2
SUB D B
CMP D B
JZ 5

