atcoder#ABC268A. [ABC268A] Five Integers

[ABC268A] Five Integers

Score : 100100 points

Problem Statement

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

Constraints

  • 0A,B,C,D,E1000 \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:

AA BB CC DD EE

Output

Print the answer.

31 9 24 31 24
3

In the given five integers 31,9,24,3131, 9, 24, 31, and 2424, there are three distinct integers 9,249, 24, and 3131. Thus, 33 should be printed.

0 0 0 0 0
1