eolymp
bolt
Try our new interface for solving problems
Problems

What type of triangle?

What type of triangle?

Find the type of triangle (equilateral, isosceles, or scalene) if the lengths of its sides are given. \InputFile One line contains $3$ integers --- the lengths of triangle sides. The lengths of the sides do not exceed $100$. \OutputFile Print $1$ if the triangle is equilateral, $2$ if it is isosceles, and $3$ if it is scalene.
Time limit 1 second
Memory limit 128 MiB
Input example #1
3 4 3
Output example #1
2
Source SFE-2010 Variant 5