eolymp
Competitions

Week 2 Conditionals Part 1

First or last?

Time limit 1 second
Memory limit 128 MiB

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

Input data

One three digit number.

Output data

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

Examples

Input example #1
328
Output example #1
8
Input example #2
832
Output example #2
8
Source SFE-2010 Variant 3