Competitions

# Programming Principles 1. Week 6. October 7 - 13. PART 1

# Grades

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 '**=**'.

Input example #1

255222

Output example #1

2

Input example #2

555522

Output example #2

5

Input example #3

525522

Output example #3

=