begin
integer
a
if
a=1
start
a=2
finish
if
a=2
start
a=3
finish
if
a=3
start
a=4
finish
endofprogram