LearnPy Hub
← Arena
EasyRating 800

Four Different Horseshoes

You have four horseshoes, given by colour numbers. How many must you buy so that all four can be different colours?

Input

Four integers.

Output

One integer.

Sample 1

Input
1 7 3 3
Output
1

Sample 2

Input
7 7 7 7
Output
3
solution.py
Output appears here
Four Different Horseshoes · Python Arena problem · LearnPy Hub