AtCoDeer recently bought three paint cans. The colors of the paint cans are represented by integers, where:
The paint can bought two days ago has the color a.
The paint can bought yesterday has the color b.
The paint can bought today has the color c.
The values for a, b, and c are integers between 1 and 100, inclusive. Since AtCoDeer is forgetful, he might have bought more than one paint can in the same color. Your task is to count the number of different colors among these three paint cans and report the result.
Input Format
Three integers a, b, and c representing the colors of the three paint cans.
Output Format
A single integer representing the number of different colors among the paint cans.
Examples
Example 1
Input:
text
1 2 3
Output:
text
3
Example 2
Input:
text
2 2 3
Output:
text
2
Example 3
Input:
text
1 1 1
Output:
text
1
Task Requirements
Implement your solution in the /app/ directory.
Ensure your code handles edge cases, such as all colors being the same or all being different.