e-olymp
Competitions

PP2. Week 1: March 1 - 7

First or last?

Three digit number is given. What digit is bigger: the first digit or the last digit?

Input

One three digit number.

Output

Print the bigger digit between first and last. In case of equality, print "=" (without quotes).

Time limit 1 second
Memory limit 128 MiB
Input example #1
328
Output example #1
8
Input example #2
832
Output example #2
8
Source SFE-2010 Variant 3