AtCoDeer recently bought three paint cans. The colors of the paint cans he purchased are represented by integers:
The color of the can bought two days ago is a
The color of the can bought yesterday is b
The color of the can bought today is c
Each color is represented by an integer between 1 and 100, inclusive. Given that AtCoDeer may have purchased more than one can in the same color, your task is to count the number of different colors of paint cans he has.
Input Format
Three integers a, b, and c (1 ≤ a, b, c ≤ 100), where:
a: Color of the can bought two days ago
b: Color of the can bought yesterday
c: Color of the can bought today
Output Format
A single integer representing the number of different colors of paint cans.
Examples
Example 1
Input:
text
1 2 3
Output:
text
3
Explanation: All colors are different.
Example 2
Input:
text
1 1 2
Output:
text
2
Explanation: Two cans are of color 1 and one is of color 2, resulting in two distinct colors.
Example 3
Input:
text
2 2 2
Output:
text
1
Explanation: All cans are of the same color.
Implementation
Please implement the solution in the /app/ directory.