See the problem statement here: [http://codeforces.com/contest/921/problem/01](//codeforces.com/contest/921/problem/01).
none
none
print('''for-50
	for-101
		move-left
	end
	for-101
		move-down
	end
	for-101
		move-right
	end
	for-101
		move-up
	end
end
for-50
	for-201
		move-left
	end
	for-201
		move-down
	end
	for-201
		move-right
	end
	for-201
		move-up
	end
end
for-50
	for-301
		move-left
	end
	for-301
		move-down
	end
	for-301
		move-right
	end
	for-301
		move-up
	end
end
for-50
	for-401
		move-left
	end
	for-401
		move-down
	end
	for-401
		move-right
	end
	for-401
		move-up
	end
end
for-51
	for-500
		move-left
	end
	for-500
		move-down
	end
	for-500
		move-right
	end
	for-500
		move-up
	end
end''')