Given three integers. Determine how many of them are equal to each other. The program must print one of the numbers: 3 (if all are the same), 2 (if two of them are equal to each other and the third one is different) or 0 (if all numbers are different).
Example input 1
10
5
10
Example output 1
2
Example input 2
5
5
5
Example output 2
3