favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

# Week 6: December 14 - 20. Char arrays 1

Peter the boy gets only twos and fives at school. Find which grades more.

#### Input

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.

#### Output

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
=