See the problem statement here: [http://codeforces.com/contest/921/problem/01](//codeforces.com/contest/921/problem/01).
none
none
#!/usr/bin/python3
print("for-5")
print("move-down")
print("end")
print("move-right")
print("for-10")
print("move-down")
print("end")
print("move-right")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-6")
print("move-down")
print("end")
print("move-right")
print("for-28")
print("move-down")
print("end")
print("move-right")
print("for-11")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-7")
print("move-down")
print("end")
print("move-right")
print("for-9")
print("move-down")
print("end")
print("move-right")
print("for-8")
print("move-down")
print("end")
print("move-right")
print("for-13")
print("move-down")
print("end")
print("move-right")
print("for-5")
print("move-down")
print("end")
print("move-right")
print("for-9")
print("move-down")
print("end")
print("move-right")
print("for-6")
print("move-down")
print("end")
print("move-right")
print("for-8")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-14")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-7")
print("move-down")
print("end")
print("move-right")
print("for-3")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("for-5")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-6")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-10")
print("move-down")
print("end")
print("move-right")
print("for-3")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-8")
print("move-down")
print("end")
print("move-right")
print("for-31")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-4")
print("move-right")
print("end")
print("for-6")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("for-5")
print("move-down")
print("end")
print("move-right")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("for-10")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("for-5")
print("move-down")
print("end")
print("move-right")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-8")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("for-10")
print("move-down")
print("end")
print("move-right")
print("for-10")
print("move-down")
print("end")
print("move-right")
print("for-6")
print("move-down")
print("end")
print("move-right")
print("for-5")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("for-6")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("for-10")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("for-11")
print("move-down")
print("end")
print("move-right")
print("for-6")
print("move-down")
print("end")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-6")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-5")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-5")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("for-6")
print("move-down")
print("end")
print("move-right")
print("for-5")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-7")
print("move-down")
print("end")
print("move-right")
print("for-11")
print("move-down")
print("end")
print("move-right")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-7")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("for-5")
print("move-down")
print("end")
print("move-right")
print("for-6")
print("move-down")
print("end")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-6")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-6")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("for-8")
print("move-down")
print("end")
print("move-right")
print("for-13")
print("move-down")
print("end")
print("for-13")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-7")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("for-4")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-9")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("for-5")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-7")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-4")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-4")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-8")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("for-11")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-4")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-5")
print("move-down")
print("end")
print("for-10")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-6")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-11")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-5")
print("move-down")
print("end")
print("for-4")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-5")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-4")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-6")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-5")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("for-6")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("move-down")
print("for-11")
print("move-right")
print("end")
print("move-down")
print("for-24")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("for-7")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("for-3")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("for-3")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-2")
print("move-down")
print("end")
print("move-right")
print("for-4")
print("move-down")
print("end")
print("for-2")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-4")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-7")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-5")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-5")
print("move-right")
print("end")
print("for-4")
print("move-down")
print("end")
print("move-right")
print("move-down")
print("for-6")
print("move-right")
print("end")
print("move-down")
print("for-4")
print("move-right")
print("end")
print("move-down")
print("for-7")
print("move-right")
print("end")
print("move-down")
print("for-8")
print("move-right")
print("end")
print("move-down")
print("for-4")
print("move-right")
print("end")
print("move-down")
print("for-3")
print("move-right")
print("end")
print("move-down")
print("move-right")
print("move-down")
print("for-13")
print("move-right")
print("end")
print("move-down")
print("for-19")
print("move-right")
print("end")
print("move-down")
print("for-8")
print("move-right")
print("end")
print("move-down")
print("for-8")
print("move-right")
print("end")
print("for-2")
print("move-down")
print("end")
print("for-8")
print("move-right")
print("end")
print("move-down")
print("for-2")
print("move-right")
print("end")
print("move-down")
print("for-5")
print("move-right")
print("end")
