Problem2426--A - Five Integers

2426: A - Five Integers

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Time Limit: 2 sec / Memory Limit: 1024 MB

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.(打印给出的5个整数中,不同整数的数量)

Constraints

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

Input

Input is given from Standard Input in the following format:
AABBCCDDEE

Output

Print the answer.

Sample Input Copy

31 9 24 31 24

Sample Output Copy

3

Source/Category