Largest of Two Numbers

You are given two integers A and B. Determine and print the larger integer. If both integers are equal, print Equal.

Input

  • The input contains two space-separated integers A and B.

Output

Print the larger integer. If both integers are equal, print Equal. Print the result without labels or trailing spaces.

Example 1:

Input:

10 100

Output:

100

Explanation:

100 is larger than 10.

Example 2:

Input:

8 8

Output:

Equal

Explanation:

Both integers have the same value, so the result is Equal.

Now Your Turn!

Pick the correct output for the given input

Input:

-25 -15

Still unsure what the problem is asking ?

Let’s go through a few more examples, step by step, to make it clearer.

Constraints:

  • -100 <= A, B <= 100

Hints

Frequently Occurring Doubts

Interview Follow-up Questions

0
#include <bits/stdc++.h>
using namespace std;
 
int main() {
// Your code goes here
}
Test Case
Input