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