e-olymp
Competitions

Programming Principles 1. Week 2. September 9 - 15. PART 1

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 seconds
Memory limit 128 MiB
Input example #1
3 4 3
Output example #1
2
Source SFE-2010 Variant 5