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 JAVA (judge verdict: Accepted)

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) {
        InputStreamReader ist = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(ist);

        String str = null;

        try{
            str = br.readLine();
            br.close();
        }catch(IOException e){
            e.printStackTrace();
        }

        String number[] = str.split(" ",0);

        int num[] = new int[2];
        int sum = 0;

        for(int i = 0;i < 2;i++){
            num[i] = Integer.parseInt(number[i]);
        }

        if(num[0] < num[1]){
          System.out.println("a < b");
        }else if(num[0] > num[1]){
          System.out.println("a > b");
        }else{
          System.out.println("a == b");
        }

    }
}