#!/usr/bin/python3

from pyrob.api import *


@task
def task_8_2():  
    while wall_is_above()==True or wall_is_beneath()==True:
        if (wall_is_above()!=wall_is_beneath()):
            fill_cell()
        if wall_is_on_the_right()==True:
            break
        move_right()





if __name__ == '__main__':
    run_tasks()
