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