See the problem statement here: [http://codeforces.com/contest/921/problem/01](//codeforces.com/contest/921/problem/01).
none
none
i, W, N, M, x0, y0, C, D, K, E = map(int, input().split())

print("for-251")

print("  for-500 move-left end")
print("  for-500 move-down end")
print("  for-500 move-right end")
print("  for-500 move-up end")


print("end")
