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

What type of triangle?

Find the triangle type (equilateral, isosceles, scalene) if the lengths of its sides are given.

Input

One line contains 3 integers - the lengths of triangle sides. The lengths of the sides do not exceed 100.

Output

Print 1 if the triangle is equilateral, 2 if isosceles and 3 if scalene.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3 4 3

Output example #1
2

Source SFE-2010 Variant 5