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