See the problem statement here: [http://codeforces.com/contest/921/problem/01](//codeforces.com/contest/921/problem/01).
none
none
print("""for-3
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-4
	move-down
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
for-3
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
for-3
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-2
	move-down
end
move-right
for-21
	move-down
	move-right
end
move-down
for-3
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
move-down
for-2
	move-right
end
move-down
for-3
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
for-3
	move-down
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
for-4
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
move-down
for-3
	move-right
end
for-4
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
for-2
	move-right
end
for-3
	move-down
	move-right
end
move-down
for-3
	move-right
end
for-2
	move-down
end
for-3
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
move-down
for-2
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
move-down
for-3
	move-right
end
move-down
move-right
move-down
for-3
	move-right
end
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
for-2
	move-down
end
move-right
for-2
	move-down
end
move-right
for-2
	move-down
	move-right
end
for-7
	move-down
end
for-3
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
move-down
move-right
move-down
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
for-3
	move-down
end
move-right
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-4
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-2
	move-down
end
for-2
	move-right
end
move-down
for-2
	move-right
end
move-down
move-right
for-4
	move-down
end
move-right
move-down
for-4
	move-right
end
for-2
	move-down
end
move-right
move-down
for-3
	move-right
end
move-down
for-2
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
for-3
	move-down
end
move-right
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-5
	move-down
	move-right
end
for-3
	move-down
end
move-right
for-2
	move-down
end
for-2
	move-right
end
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
for-3
	move-down
end
move-right
move-down
move-right
move-down
for-5
	move-right
end
for-2
	move-down
end
move-right
move-down
for-4
	move-right
end
for-2
	move-down
end
for-4
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
for-2
	move-down
end
move-right
move-down
for-5
	move-right
end
for-4
	move-down
	move-right
end
move-down
for-3
	move-right
end
move-down
for-2
	move-right
end
for-5
	move-down
end
move-right
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
for-3
	move-down
end
move-right
for-9
	move-down
end
for-2
	move-right
end
for-2
	move-down
end
move-right
for-5
	move-down
end
move-right
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
move-down
for-3
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
for-2
	move-down
end
for-3
	move-right
end
for-2
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-3
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
for-2
	move-down
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
move-down
move-right
move-down
for-3
	move-right
end
for-5
	move-down
end
for-3
	move-right
end
move-down
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
for-2
	move-down
end
for-6
	move-right
end
for-3
	move-down
end
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
for-3
	move-down
end
move-right
for-3
	move-down
end
move-right
move-down
for-5
	move-right
end
move-down
for-5
	move-right
end
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-2
	move-down
	move-right
end
move-down
for-2
	move-right
end
move-down
for-2
	move-right
end
for-4
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
for-6
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
end
move-right
for-2
	move-down
end
move-right
for-5
	move-down
	move-right
end
for-3
	move-down
end
move-right
move-down
move-right
for-4
	move-down
end
move-right
for-2
	move-down
	move-right
end
move-down
for-3
	move-right
end
move-down
for-3
	move-right
end
for-2
	move-down
end
move-right
move-down
for-5
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
for-4
	move-down
	move-right
end
move-down
for-2
	move-right
end
move-down
for-4
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
move-down
for-3
	move-right
end
move-down
for-2
	move-right
end
for-4
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
end
move-right
for-2
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
move-down
move-right
move-down
for-3
	move-right
end
for-7
	move-down
	move-right
end
move-down
for-2
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
move-down
for-2
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
for-7
	move-down
	move-right
end
for-3
	move-down
end
for-2
	move-right
end
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-3
	move-down
end
move-right
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
for-4
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-4
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
for-2
	move-down
end
move-right
move-down
move-right
move-down
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
move-down
move-right
for-2
	move-down
end
move-right
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
for-2
	move-down
end
move-right
for-2
	move-down
end
for-2
	move-right
end
move-down
move-right
for-3
	move-down
end
move-right
for-2
	move-down
end
move-right
for-8
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
for-4
	move-down
end
move-right
for-2
	move-down
end
move-right
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
move-down
for-2
	move-right
end
move-down
for-3
	move-right
end
for-3
	move-down
end
move-right
move-down
for-2
	move-right
end
for-2
	move-down
end
move-right
move-down
for-2
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
move-down
move-right
move-down
for-2
	move-right
end
for-2
	move-down
	move-right
end
move-down
for-7
	move-right
end
for-3
	move-down
end
move-right
for-2
	move-down
end
move-right
for-2
	move-down
	move-right
end
for-3
	move-down
end
for-2
	move-right
end
move-down
move-right
for-3
	move-down
end
move-right
for-7
	move-down
end
for-2
	move-right
end
move-down
for-2
	move-right
end
move-down
move-right
move-down
for-5
	move-right
end
move-down
for-2
	move-right
end
move-down
for-4
	move-right
end
for-2
	move-down
end
move-right
for-3
	move-down
	move-right
end
for-2
	move-down
end
move-right
for-2
	move-down
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
for-3
	move-down
	move-right
end
move-down
for-2
	move-right
end
for-2
	move-down
end
for-2
	move-right
end
for-2
	move-down
	move-right
end
for-3
	move-down
end
move-right
for-5
	move-down
end
move-right
for-2
	move-down
end
move-right
for-4
	move-down
end
move-right
move-down
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
move-down
move-right
move-down
for-2
	move-right
end
move-down
move-right
for-4
	move-down
end
for-4
	move-right
end
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
for-2
	move-down
end
move-right
for-3
	move-down
end
for-2
	move-right
end
for-8
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
for-5
	move-right
end
for-2
	move-down
end
move-right
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
for-3
	move-right
end
for-6
	move-down
end
for-2
	move-right
end
for-2
	move-down
	move-right
end
move-down
for-2
	move-right
end
move-down
move-right
for-2
	move-down
end
move-right
for-2
	move-down
	move-right
end
for-2
	move-down
end
move-right
move-down
move-right
for-5
	move-down
end
move-right
for-5
	move-down
end
move-right
move-down
move-right
for-9
	move-down
end
move-right
for-11
	move-down
end
move-right
for-5
	move-down
end
move-right
move-down
move-right
for-5
	move-down
end
move-right
for-2
	move-down
	move-right
end
for-7
	move-down
end
move-right
move-down
for-2
	move-right
end
for-4
	move-down
end
move-right
for-8
	move-down
end
move-right
move-down
move-right
for-8
	move-down
end
move-right
move-down
move-right
for-9
	move-down
end
move-right
for-16
	move-down
end
move-right
for-12
	move-down
end
move-right
for-15
	move-down
end
move-right
move-down
move-right
for-5
	move-down
end
""")
