See the problem statement here: [http://codeforces.com/contest/921/problem/01](//codeforces.com/contest/921/problem/01).
none
none
s = """move-left
for-1000
    for-1000 
        for-4
            move-down
        end
        move-right
        move-up
        move-right
    end
    for-1000 
        for-4
            move-down
        end
        move-left
        move-up
        move-left
    end
end
"""
print(s)