eolymp
bolt
Try our new interface for solving problems
Problems

First or last?

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 integer.

Output data

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

Examples

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