{{{~cpp
def check_beeper():
while next_to_a_beeper():
pick_beeper()
def go_move_1():
if front_is_clear():
move()
else:
turn_left()
check_beeper()
def go_move_2():
move()
put_beeper()
def go_start_1():
if front_is_clear():
move()
else:
repeat(turn_left,3)
%