eolymp
bolt
Try our new interface for solving problems
Problems

Grades

Grades

Peter the boy gets only twos and fives at school. Find which grades more. \InputFile One line contains the Peter's grades. It is known that Peter gets only twos and fives, the grades are given without spaces and there are no more than $1000$ grades. \OutputFile Print $5$ if fives more than twos. Print $2$ if twos more than fives. If the twos and fives are the same amount, print the equality symbol "$=$".
Time limit 1 second
Memory limit 128 MiB
Input example #1
255222
Output example #1
2
Input example #2
555522
Output example #2
5
Input example #3
525522
Output example #3
=