102680: [AtCoder]ABC268 A - Five Integers

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

Description

Score : $100$ points

Problem Statement

Print how many distinct integers there are in given five integers $A, B, C, D$, and $E$.

Constraints

  • $0 \leq A, B, C, D, E \leq 100$
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

$A$ $B$ $C$ $D$ $E$

Output

Print the answer.


Sample Input 1

31 9 24 31 24

Sample Output 1

3

In the given five integers $31, 9, 24, 31$, and $24$, there are three distinct integers $9, 24$, and $31$. Thus, $3$ should be printed.


Sample Input 2

0 0 0 0 0

Sample Output 2

1

Input

题意翻译

给五个数 $A,B,C,D,E$,请问有多少个不同的数。

Output

分数:100分

问题描述

打印给定的五个整数$A, B, C, D$和$E$中不同的整数数量。

限制条件

  • $0 \leq A, B, C, D, E \leq 100$
  • 输入中的所有值都是整数。

输入

输入从标准输入以以下格式给出:

$A$ $B$ $C$ $D$ $E$

输出

打印答案。


样例输入1

31 9 24 31 24

样例输出1

3

在给定的五个整数$31, 9, 24, 31$和$24$中,有三个不同的整数$9, 24$和$31$。 因此,应该打印出$3$。


样例输入2

0 0 0 0 0

样例输出2

1

加入题单

算法标签: