# # Код на ruby 2.2.3p173
number = 0
File.open("input.txt", "r") do |infile|
while (line = infile.gets)
number = line.to_i
break
end
p number
end
number = number.abs
last_n = number % 10
while number >= 10 do
number = number / 10
end
p [number, last_n]
File.open("output.txt", "w") do |file|
if last_n == number
file.puts "="
elsif number > last_n
file.puts ">"
else
file.puts "<"<br> end
end