#K5311. Maximum of Two Integers
Maximum of Two Integers
Maximum of Two Integers
You are given two integers. Your task is to print the maximum of the two integers. However, if both integers are equal, you should print the string Equal
.
In mathematical terms, for two integers \( x \) and \( y \), you are to compute \( \max(x, y) \) and if \( x = y \) then output Equal
instead of a number.
Example:
- Input: 7 5, Output: 7
- Input: 10 10, Output: Equal
inputFormat
The input consists of a single line containing two space-separated integers \( x \) and \( y \).
\( 1 \leq x, y \leq 10^9 \)
outputFormat
Print the maximum of the two integers if they are not equal; otherwise, print Equal
.
7 5
7