We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Linux Shell
- Bash
- Comparing Numbers
Comparing Numbers
Comparing Numbers
Given two integers, and , identify whether or or .
Exactly one of the following lines:
- X is less than Y
- X is greater than Y
- X is equal to Y
Input Format
Two lines containing one integer each ( and , respectively).
Constraints
-
Output Format
Exactly one of the following lines:
- X is less than Y
- X is greater than Y
- X is equal to Y
Sample Input
Sample Input 1
5
2
Sample Input 2
2
2
Sample Input 3
2
3
Sample Output
Sample Output 1
X is greater than Y
Sample Output 2
X is equal to Y
Sample Output 3
X is less than Y
Explanation
-