See the problem statement here: [http://codeforces.com/contest/921/problem/01](//codeforces.com/contest/921/problem/01).
none
none
print('move-left')
print('for-250')
print('move-down')
print('for-500')
print('if-ok move-down else break endif')
print('end')
print('move-right')
print('for-500')
print('if-ok move-right else break endif')
print('end')
print('move-up')
print('for-500')
print('if-ok move-up else break endif')
print('end')
print('move-left')
print('for-500')
print('if-ok move-left else break endif')
print('end')
print('end')
