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