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