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); cond do String.equivalent?(c, "<") -> if si < ti, do: IO.puts "YES", else: IO.puts "NO" String.equivalent?(c, ">") -> if si > ti, do: IO.puts "YES", else: IO.puts "NO" String.equivalent?(c, "=") -> if si == ti, do: IO.puts "YES", else: IO.puts "NO" end end end