Three integers are given on separate lines. Determine how many of them are equal.
Output one of the following: 3 (if all numbers are equal), 2 (if two are equal), or 0 (if all numbers are different).
Input #1
1 2 2
Output #1
2
Sign in to submit your solution and save your progress.