#!/usr/bin/python3

from pyrob.api import *


@task
def task_8_29():
    while wall_is_on_the_left() is False :
        move_left()
        while  wall_is_above() is False : move_up()
    while wall_is_on_the_right() is False and wall_is_beneath() :
        move_right()
        while  wall_is_above() is False : move_up()
    while wall_is_on_the_left() is False and wall_is_beneath() is False: move_left()




if __name__ == '__main__':
    run_tasks()
