defmodule Main do def main do [s, t, c] = IO.read(:line) |> String.trim() |> String.split(" "); si = String.to_integer(s); ti = String.to_integer(t); case {si, ti, c} do {si, ti, "<"} when si < ti -> IO.puts "YES" {si, ti, ">"} when si > ti -> IO.puts "YES" {si, ti, "="} when si == ti -> IO.puts "YES" _ -> IO.puts "NO" end end end