Compare Two Numbers

Time limit1sMemory limit512 MB

Summary
Read two integers and print whether the first is greater than, less than, or equal to the second.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Given two integers A and B, write a program that compares them and prints the correct symbol.

Input

The first line contains A and B separated by one space.

Output

Print exactly one of the following on the first line.

  • Print '>' if A is greater than B.
  • Print '<' if A is less than B.
  • Print '==' if A and B are equal.

Constraints

  • -10,000 <= A, B <= 10,000

Examples3

  1. Example 1

    Input
    1 2
    
    Expected output
    <
    
  2. Example 2

    Input
    10 2
    
    Expected output
    >
    
  3. Example 3

    Input
    5 5
    
    Expected output
    ==