100460: [AtCoder]ABC046 A - AtCoDeer and Paint Cans

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

Score : $100$ points

Problem Statement

AtCoDeer the deer recently bought three paint cans. The color of the one he bought two days ago is $a$, the color of the one he bought yesterday is $b$, and the color of the one he bought today is $c$. Here, the color of each paint can is represented by an integer between $1$ and $100$, inclusive.

Since he is forgetful, he might have bought more than one paint can in the same color. Count the number of different kinds of colors of these paint cans and tell him.

Constraints

  • $1≦a,b,c≦100$

Input

The input is given from Standard Input in the following format:

$a$ $b$ $c$

Output

Print the number of different kinds of colors of the paint cans.


Sample Input 1

3 1 4

Sample Output 1

3

Three different colors: $1$, $3$, and $4$.


Sample Input 2

3 3 33

Sample Output 2

2

Two different colors: $3$ and $33$.

Input

题意翻译

题目描述: AtCoDeer先生最近买了三个油漆罐。两天前他买的那一种颜色是A,他昨天买的颜色是B,他今天买的颜色是C。每个颜料的颜色可以用1到100之间的正整数来表示。 由于AtCoDeer先生出生健忘村,AtCoDeer先生可能买了一个以上的油漆罐颜色相同。计算这些油漆罐的不同颜色的数量并告诉AtCoDeer先生。 范围: 1<=(a,b,c)<=100 输入格式: 三个正整数a,b,c 输出格式: 一个正整数,表示不同颜色数量

加入题单

算法标签: