P25865 [AtCoder] Five Integers
入门
题目描述

Problem Statement

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

Input

Input is given from Standard Input in the following format:
A B C D E

Output

Print the answer.

Constraints

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

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 部分

输出格式

见题面 Output 部分

样例输入
31 9 24 31 24
样例输出
3