Problem:
Small, Large, or Equal

Write a program which prints small/large/equal relation of given two integers a and b.

Input

Two integers a and b separated by a single space are given in a line.

Output

For given two integers a and b, print

a < b

if a is less than b,

a > b

if a is greater than b, and

a == b

if a equals to b.

Constraints

-1000 ≤ a, b ≤ 1000

Sample Input 1

1 2

Sample Output 1

a < b

Sample Input 2

4 3

Sample Output 2

a > b

Sample Input 3

5 5

Sample Output 3

a == b

Solution in Scala (judge verdict: Accepted)

/**
  * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_A
  * ??§?°???¢???
  * ???????????´??° a, b ?????????????????§???a ??¨ b ?????§?°???¢??????????????????????????°?????????????????????????????????
  */
object Main {
  def main(args: Array[String]): Unit = {
    val intPair = io.StdIn.readLine().split(" +").map(_.toInt).toSeq
    val (a, b) = intPair match {
      case Seq(x, y) => (x, y)
    }
    val relationShipString = getRelationshipString(a, b)
    println(s"a $relationShipString b")
  }

  def getRelationshipString[A: Ordering](a: A, b: A): String = {
    implicitly[Ordering[A]].compare(a, b) match {
      case -1 => "<"
      case 0 => "=="
      case 1 => ">"
    }
  }
}