Problem:
 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 .

Solution (Python):
from collections import Counter
CO = list(map(int, input().split()))
CNT = Counter(CO)
CNTL = list(CNT.keys())
N = len(CNTL)
print (N)

Solution (Python):
a,b,c = map(int,input().split())

if a==b and b==c:
    print(1)
elif a==b or b==c or c==a:
    print(2)
else:
    print(3)

Solution (Python):
A = list(map(int,input().split()))

print(len(set(A)))

Solution (Python):
a,b,c=map(int,input().split())
 
if(a == b and b==c and c == a):
    print(1)
elif(a != b and b != c and c != a):
    print(3)
else:
    print(2)

Solution (Python):


a,b,c=map(int,input().split())

if(a == b and b==c and c == a):
    print(1)
elif(a != b and b != c and c != a):
    print(3)
else:
    print(2)

Solution (Python):
from sys import stdin
input=stdin.readline().rstrip().split()
input=list(set(input))
print(len(input))

Solution (Python):
a=list(map(int,input().split()))
a=list(set(a))
print(len(a))

Solution (Python):
print(len(set(list(map(int, input().split())))))

Solution (Python):
p = list(map(int,input().split()))
if p[0] != p[1] and p[1] != p[2] and p[2] != p[0]:
  print(3)
elif p[0] == p[1] == p[2]:
  print(1)
else:
  print(2)

Solution (Python):
print(len(set([int(i) for i in input().split()])))

Solution (Python):
a = list(map(int,input().split()))
if a[0] != a[1] and a[0] != a[2] and a[1] != a[2]:
  print(3)
elif a[0] == a[1] and a[0] != a[2]:
  print(2)
elif a[0] != a[1] and a[0] == a[2]:
  print(2)
elif a[0] != a[1] and a[1] == a[2]:
  print(2)
elif a[0] == a[1] == a[2]:
  print(1)

Solution (Python):
a,b,c=map(int,input().split())
dic={}
dic[a]=1
dic[b]=1
dic[c]=1
print(len(list(dic)))

Solution (Python):
i=list(map(int, input().split())) 
print (len(set(i)))

Solution (Python):
a = list(map(int, input().split()))
print(len(set(a)))

Solution (Python):
a, b, c =map(int, open(0).read().split())
if a == b and b == c:
  print(1)
elif a == b or b == c or a == c:
  print(2)
else:
  print(3)

Solution (Python):
A = set(map(int, input().split()))
print(len(A))

Solution (Python):
s = input().split()
myset = set([])
myset.add(s[0])
myset.add(s[1])
myset.add(s[2])
m = len(myset)
print(m)

Solution (Python):
s = map(int,input().split())
ans = set(s)
print(len(ans))

Solution (Python):
n=input().split()
print(len(set(n)))

Solution (Python):
print(len(list(set(input().split()))))

Solution (Python):
a=list(map(int,input().split()))
sum=0
sum+=a.count(a[0])+a.count(a[1])+a.count(a[2])
if sum==3:
    print(3)
elif sum==5:
    print(2)
else:
    print(1)

Solution (Python):
a ,b ,c = map(int, input().split())

x = [a, b, c]
y = []
for i in x:
    if i not in y:
        y.append(i)

print(int(len(y)))

Solution (Python):
a,b,c = map(int,input().split())

if a==b==c:
    print(1)

elif a==b or a==c or b==c:
    print(2)

else:
    print(3)

Solution (Python):
List=list(map(int,input().split()))
print(len(set(List)))

Solution (Python):
print(len(set(map(int,input().split()))))

Solution (Python):
def atcodeer_and_paint_cans(a: int, b: int, c: int) -> int:
    return len(set([a, b, c]))


if __name__ == "__main__":
    a, b, c = map(int, input().split())
    ans = atcodeer_and_paint_cans(a, b, c)
    print(ans)

Solution (Python):
l = input().split()
l_u = list(set(l))
print(len(l_u))

Solution (Python):
print(len(list(set(input().split()))))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
line = input()
arr = map(int, line.split())
motteru = dict.fromkeys(arr, 0)
print(len(motteru))

Solution (Python):
abc = list(map(int, input().split()))

print(len(set(abc)))

Solution (Python):
x = list(map(int, input().split()))
 
print(len(set(x)))

Solution (Python):
a=list(map(int,input().split()))
ans=3
if a[0]==a[1] and a[1]==a[2]:
  ans=1
else:  
  for i in range(0,2):
    for j in range(i+1,3):
      if a[i]==a[j]:
        ans = 2
        break
      else:
        j += 1

print(ans)

Solution (Python):
a, b, c = map(int, input().split())
l = set([a, b, c])
print(len(l))

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

a, b, c = MAP()

print(len(set((a,b,c))))

Solution (Python):
a = [int(i) for i in input().split()]
a = list(set(a))
print(len(a))

Solution (Python):


lis_x = list(map(int, input().split()))

print(len(set(lis_x)))

Solution (Python):
import collections
from functools import reduce

def main():
    
    

    
    

    
    
    
    
    

    
    
    
    
    
    X = [int(_) for _ in input().split()]
    if X[0] == X[1] and X[0] == X[2] and X[1] == X[2]:
        ans = 1
    elif X[0] == X[1] or X[0] == X[2] or X[1] == X[2]:
        ans = 2
    else:
        ans = 3
    print(ans)


    
    
        
   
if __name__ == '__main__':
    main()

Solution (Python):
a,b,c = input().split()
list1 = [a,b,c]
print(len(set(list1)))

Solution (Python):
print(len(set(input().split(" "))))

Solution (Python):
nums = list(map(int, input().split()))
print(len(set(nums)))

Solution (Python):
a, b, c = map(int, input().split())
if a == b == c:
    print(1)
elif a == b != c or b == c != a or c == a != b:
    print(2)
else:
	print(3)

Solution (Python):
list=[]
a,b,c=map(int,input().split())
list.append(a)
list.append(b)
list.append(c)
print(len(set(list)))

Solution (Python):
c=list(input().split())
print(len(set(c)))

Solution (Python):
a = [int(x) for x in input().split()]

b = set(a)
print(len(b))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
import collections
a = list(input().split())
m = collections.Counter(a)
print(len(m))

Solution (Python):
a,b,c=(map(int, input().split()))

if a==b==c:
  print(1)
elif a==b or b==c or a==c:
  print(2)
else:
  print(3)

Solution (Python):
s = set(input().split())
print(len(s))

Solution (Python):

from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LS()
    return l
sys.setrecursionlimit(1000000)
mod = 1000000007


def A():
    s = LI()
    s = list(set(s))
    print(len(s))
    return


def B():
    return


def C():
    return


def D():
    return


def E():
    return


def F():
    return


def G():
    return


def H():
    return


if __name__ == "__main__":
    A()

Solution (Python):
a, b, c = map(int, input().split())
if a == b == c:
    print(1)
elif a == b or b == c or c == a:
    print(2)
else:
    print(3)

Solution (Python):
a = set([int(i) for i in input().split()])
print(len(a))

Solution (Python):
a, b, c = map(int, input().split())
ab = a == b
bc = b == c
ca = c == a
if ab and bc and ca:
    print(1)
elif ab or bc or ca:
    print(2)
else:
    print(3)

Solution (Python):
a=list(map(int,input().split()))

if a.count(a[1])==3:
  print(1)
  
elif a.count(a[1])==2:
  print(2)
  
elif a.count(a[1])==1 and a.count(a[2])==1:
  print(3)
  
else:
  print(2)

Solution (Python):
a=[]
a=list(map(int,input().split(' ')))
b=set(a)
print(len(b))

Solution (Python):
from collections import Counter
print(len(Counter(int(s) for s in input().split())))

Solution (Python):
a, b, c = list(map(int, input().split()))

if a==b and b==c:
	print(1)
elif a!=b and b!=c and c!=a:
	print(3)
else:
	print(2)

Solution (Python):
x = list(map(int, input().split()))
x = set(x)
print(len(x))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
a=list(map(int,input().split()))
s=set()
for item in a:
  s.add(item)
print(len(s))

Solution (Python):
li = [int(x) for x in input().split()]
li.sort()
ans = 1
ans += 1 if li[1]!=li[0] else 0
ans += 1 if li[2]!=li[1] else 0
print(ans)

Solution (Python):
a = [int(i) for i in input().split()]

print(len(list(set(a))))

Solution (Python):


abc = list(map(int, input().split()))
count = (len(abc) + len(set(abc))) - 3
print(count)

Solution (Python):
def main():
    a, b, c = map(int, input().split())
    print(len(set([a, b, c])))


if __name__ == "__main__":
    main()

Solution (Python):
a = list(map(int,input().split()))
b = set(a)
print(len(b))

Solution (Python):
a=set(map(int, input().split()))
print(len(a))

Solution (Python):
print(len(set(input().split())))

Solution (Python):

color = list(map(int, input().split()))

print(len(list(set(color))))

Solution (Python):
A= set(list(map(int,input().split())))
print(len(A))

Solution (Python):
a = set(list(map(int,input().split())))
print(len(a))

Solution (Python):

a, b, c = map(int, input().split())
s = set([])
s.add(a)
s.add(b)
s.add(c)
print(len(s))

Solution (Python):
abc=list(map(int,input().split()))
d=[]
for i in abc:
    if i not in d:
        d.append(i)
print(len(d))

Solution (Python):
a, b, c = list(map(int, input().split()))


if a == b and b == c and c == a:
    print(1)
elif a != b and b != c and c == a:
    print(2)
elif a == b and b != c and c != a:
    print(2)
elif a != b and b == c and c != a:
    print(2)
else:
    print(3)

Solution (Python):
a, b, c = list(map(int, input().split()))
if a == b and b == c and c == a:
    print(1)
elif a != b and b != c and c == a:
    print(2)
elif a == b and b != c and c != a:
    print(2)
elif a != b and b == c and c != a:
    print(2)
else:
    print(3)

Solution (Python):
abc = list(map(int, input().split()))

print(len(set(abc)))

Solution (Python):
a,b,c = map(int,input().split())
if(a == b == c):
    print(1)
elif(a == b or b == c or c == a):
    print(2)
else:
    print(3)

Solution (Python):
a=list(map(int,input().split()))
a.sort()
if a[0]==a[2]:print(1)
elif a[0]==a[1] or a[1]==a[2]:print(2)
else:print(3)

Solution (Python):
print(len(set(input().split())))

Solution (Python):

a, b, c = map(int, input().split())
kind = 0
if a != b:
    kind += 1
if a != c:
    kind += 1
if b != c:
    kind += 1
print(kind if kind != 0 else 1)

Solution (Python):
print(str(len(set(list(map(int,input().split(' ')))))))

Solution (Python):
def main() -> None:
    a, b, c = map(int, input().split())
    l = [a, b, c]
    t = set(l)
    print(len(t))


if __name__ == '__main__':
    main()

Solution (Python):
a = set(list(map(int, input().split())))

print(len(a))

Solution (Python):
a, b, c = map(int, input().split())
if a == b and b == c:
    print(1)
elif a == b or b == c or c == a:
    print(2)
else:
    print(3)

Solution (Python):
a = set(list(map(int, input().split())))
print(len(a))

Solution (Python):
l = input().split()
print(len(list(set(l))))

Solution (Python):
colors = list(map(int, input().split()))
print(len(set(colors)))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
a, b, c = map(int, input().split())
li = [a, b, c]
print(len(set(li)))

Solution (Python):
s = input().split()
lis = list(set(s))
print(len(lis))

Solution (Python):
a = list(map(int, input().split()))
b = a.count(a[0])
c = a.count(a[1])
if b==3:
  print(1)
elif b==2 or c==2:
  print(2)
else:
  print(3)

Solution (Python):
s = {int(i) for i in input().split()}
print(len(s))

Solution (Python):

num = 0
a, b, c = map(int, input().split())
if a == b and a == c and b == c:
	num = 1
elif a != b and a != c and b != c:
	num = 3
else:
	num = 2

print(num)

Solution (Python):
l = list(map(int, input().rstrip().split(' ')))
l2 = list(set(l))
print(len(l2))

Solution (Python):
c = list(map(int, input().split()))
ans = len(set(c))
print(ans)

Solution (Python):
lst = input().split()
print(len(list(set(lst))))

Solution (Python):
print(len(set(list(map(int, input().split())))))

Solution (Python):
a=[int(i) for i in input().split()]
s=set(a)
print(len(s))

Solution (Python):
a = list(map(int, input().split()))
ans = 3
a.sort()
if a[0] == a[1]:
  ans -= 1
if a[1] == a[2]:
  ans -= 1
print(ans)

Solution (Python):

import sys

def main():
	a, b, c = map(int, input().split(" "))

	ans = 1
	if a != b:
		ans = ans + 1
	if a != c and b != c:
		ans = ans + 1

	print(ans)

if __name__ == "__main__":
	main()

Solution (Python):
from sys import stdin
l = [int(x) for x in stdin.readline().rstrip().split()]
print(len(set(l)))

Solution (Python):
print(len(list(set([int(i) for i in input().split()]))))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
import sys
import collections
input = sys.stdin.readline

l = list(input().split())
c = collections.Counter(l)
print(len(c))

Solution (Python):
colors = set(list(map(int, input().split())))
print(len(colors))

Solution (Python):
a, b, c = map(int, input().split())
colors = {a, b, c}
print(len(colors))

Solution (Python):
s = set(input().split())
print(len(s))

Solution (Python):
penki = list(map(int,input().split()))

checked = [False]*100

for i in range(3):
    checked[penki[i]-1]=True

ans = checked.count(True)

print(ans)

Solution (Python):
li = set(map(int, input().split()))
print(len(li))

Solution (Python):
a,b,c=map(int,input().split())
if a==b and b==c:print(1)
elif a!=b and b!=c and a!=c : print(3)
else:print(2)

Solution (Python):
C = set(input().split())
print(len(C))

Solution (Python):
color = set(input().split())
print(len(color))

Solution (Python):
li = set(map(int,input().split()))
print(len(li))

Solution (Python):
a = input().split()
a = list(a)
for i in range(3):
  a[i] = int(a[i])
a.sort()

if(a[0] == a[1]):
  if(a[1] == a[2]):
    print(1)
  else:
    print(2)
elif(a[1] == a[2]):
  print(2)
else:
  print(3)

Solution (Python):
a, b, c = map(int, input().split())
if a == b & b == c:
    print(1)
elif a != b & b != c & c != a:
    print(3)
else:
    print(2)

Solution (Python):
print(len(set(input().split())))

Solution (Python):
penki = set(list(input().split()))
print(len(penki))

Solution (Python):
import collections
abc = map(int, input().split())
c_s = collections.Counter(abc)
print(len(c_s.keys()))

Solution (Python):
A=list(map(int,input().split()))
res=0
for i in range(100):
  if A.count(i+1)==2:
    print(2)
    res+=1
  elif A.count(i+1)==3:
    print(1)
    res+=1
if res==0:
  print(3)

Solution (Python):
s = set(input().split())
print(len(s))

Solution (Python):
a=list(map(int,input().split()))
b=set(a)
print(len(b))

Solution (Python):

print(len(set(map(int,input().split()))))

Solution (Python):
A=list(map(int,input().split()))
print(len(list(set(A))))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
p = input().split()
print(len(list(set(p))))

Solution (Python):
print(len(set(map(int,input().split()))))

Solution (Python):
print(len(set(list(map(int, input().split())))))

Solution (Python):
s = set([x for x in input().split()])
print(len(s))

Solution (Python):
A=sorted(list(map(int,input().split())))
print(4-A.count(A[1]))

Solution (Python):
print(len(set(map(int, input().split()))))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
a,b,c=map(int,input().split())
print(3 if a!=b and a!= c and b!=c else 1 if a==b and a==c else 2)

Solution (Python):
print(len(set(input().split())))

Solution (Python):
s = set(input().split())
print(len(s))

Solution (Python):
s = set(list(map(int,input().split())))
print(len(s))

Solution (Python):
li = list(map(int, input().split()))

count = 0

if sum(li)/len(li) == li[0]:
  print(1)
  exit()
else:
  for i in range(len(li)):
    for j in range(i,len(li)):
      if li[i] != li[j]:
        count += 1
print(count)

Solution (Python):

ans = len(set(map(int, input().split())))

print(ans)

Solution (Python):
a,b,c=map(int,input().split())
if a == b and b==c and a==c:
    print(1)
elif a == b or b==c or a==c:
    print(2)
else:
    print(3)

Solution (Python):
a, b, c = [int(x) for x in input().split()]

X = set()
for x in [a, b, c]:
    X.add(x)
ans = len(X)

print(ans)
print()

Solution (Python):
a, b, c = [int(x) for x in input().split()]

print(len({a, b, c}))

Solution (Python):
s=input().split()
count=3
if s[0]==s[1]:
    count-=1
if s[1]==s[2]:
    count-=1
if s[2]==s[0]:
    count-=1
if count==0:
    count=1
print(count)

Solution (Python):
colors = set(map(int,input().split()))
print(len(colors))

Solution (Python):
n=list(map(int,input().split()))
print(len(set(n)))

Solution (Python):
l = set(map(int, input().split()))
print(len(l))

Solution (Python):
a = list(map(int, input().split()))
if a[0] == a[1] == a[2]:
    print(1)
elif a[0] != a[1] and a[0] != a[2] and a[1] != a[2]:
    print(3)
else:
    print(2)

Solution (Python):
a,b,c=map(int,input().split())
if(a==b and b==c):
  print(1)
elif(a==b or b==c or a==c):
  print(2)
else:
  print(3)

Solution (Python):
li = [int(i) for i in input().split()]
print(len(set(li)))

Solution (Python):
data=input().split()
sum = 0
for i in range(3):
  for j in range(i+1,3):
  	if data[i] != data[j]:
  		sum += 1
if sum == 0:
  sum = 1
print(sum)

Solution (Python):
abc = set([int(i) for i in input().split()])
print(len(abc))

Solution (Python):
abc = set(list(map(int, input().split())))
print(len(abc))

Solution (Python):
print(len(list(set(input().split()))))

Solution (Python):
a,b,c=map(int,input().split())
n={}
n[a]=1
n[b]=1
n[c]=1
m=0
for i in n:
    m+=n[i]
print(m)

Solution (Python):
""" AtCoder """

abc = set(map(int, input().split()))

print(len(abc))

Solution (Python):
abc = set([int(i) for i in input().split()])
print(len(abc))

Solution (Python):
print(len(set([int(i) for i in input().split()])))

Solution (Python):
lists = input().split()
print(len(set(lists)))

Solution (Python):
l=set(list(map(int,input().split())))
print(len(l))

Solution (Python):
a={int(i) for i in input().split()}
print(len(a))

Solution (Python):
a, b, c = [int(x) for x in input().split()]

s = set()
s.add(a)
s.add(b)
s.add(c)

print(len(s))

Solution (Python):
abc=map(int,input().split())
print(len(set(abc)))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
a, b, c = map(int, input().split())
print(len(set([a, b, c])))

Solution (Python):
l=map(int,input().split())
ls=[]
for i in l:
     ls.append(i)
k=set(ls)
print(len(k))

Solution (Python):
l=map(int,input().split())
ls=[]
for i in l:
     ls.append(i)
k=set(ls)
n=len(k)
print(n)

Solution (Python):
print(len(set(input().split())))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
a,b,c=map(int,input().split())
li=[]
li.append(a)
li.append(b)
li.append(c)
print(len(list(set(li))))

Solution (Python):
a,b,c = (int(i) for i in input().split())
print(len(set([a,b,c])))

Solution (Python):
inks = set(input().strip().split())
print(len(inks))

Solution (Python):
Can = set(input().split())

print(len(Can))

Solution (Python):
print(len(set(input().rstrip().split())))

Solution (Python):
from collections import defaultdict
data=defaultdict(int)
x=input().split()
for i in range(3):
    data[x[i]]+=1
print(len(data))

Solution (Python):
a = list(map(int, input().split()))
print(len(set(a)))

Solution (Python):
def execute(a, b, c):
    return len({a, b, c})


if __name__ == '__main__':
    a, b, c = map(int, input().split())
    print(execute(a, b, c))

Solution (Python):
a,b,c=map(int,input().split())
if (a==b and a==c):
    print(1)
elif (a==b and b!=c) or (a==c and b!=c) or (b==c and a!=b):
    print(2)
else:
    print(3)

Solution (Python):
a=list(map(str,input().split()))
a=set(a)
print(len(a))

Solution (Python):
a, b, c = map(int, input().split())
l = [a, b, c]
val = list(set(l))
print(len(val))

Solution (Python):
s = input().split()
ans = len(list(set(s)))
print(ans)

Solution (Python):
print(len(set(list(input().split()))))

Solution (Python):
clist = input().split()
if clist.count(clist[0]) == 3:
  print(1)
elif clist.count(clist[0]) == 2:
  print(2)
else:
  if clist[1] == clist[2]:
    print(2)
  else:
    print(3)

Solution (Python):
a = {int(x) for x in input().split()}
print(len(a))

Solution (Python):
A,B,C = map(int,input().split())

print(len(set([A,B,C])))

Solution (Python):
print(len(set(list(map(int, input().split())))))

Solution (Python):
li = list(set(list(map(int, input().split()))))
print(len(li))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
print(len(set(list(map(int, input().split())))))

Solution (Python):
a,b,c=map(int,input().split())
ans=3

if a==b:
    ans-=1
if b==c:
    ans-=1
if c==a:
    ans-=1
if a==b and b==c:
    ans+=1
print(ans)

Solution (Python):
a,b,c = map(int,input().split())
if a == b == c:
  print("1")
elif a == b or b == c or c == a:
  print("2")
else:
  print("3")

Solution (Python):
print(len(set((int(i) for i in input().split()))))

Solution (Python):
A = list(map(int, input().split()))
print(len(set(A)))

Solution (Python):
print(len(set(list(map(int,input().split())))))

Solution (Python):
a = input().split()

print(len(set(a)))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
l= list(map(int, input().split()))
l.sort()
l = set(l)
print(len(l))

Solution (Python):
a, b, c = map(int, input().split())
temp = set()
temp.add(a)
temp.add(b)
temp.add(c)
print(len(temp))

Solution (Python):
a = list(map(int,input().split()))
b = set(a)
c = list(b)
print(len(c))

Solution (Python):
s = set([int(i) for i in input().split()])
print(len(s))

Solution (Python):
a = set(map(int,input().split()))
print(len(a))

Solution (Python):
a=set(map(int,input().split()))
print(len(a))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
A=[int(i) for i in input().split()]
A=set(A)
print(len(A))

Solution (Python):
print(len(set(list(map(int, input().split())))))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
a, b, c = map(int, input().split())
t = [a, b, c]
k = set(t)
print(len(k))

Solution (Python):
list = list(map(int,input().split()))
if list.count(list[0]) == 3:
    print(1)
elif list.count(list[0]) == 2:
    print(2)
else:
    if list[1] == list[2]:
        print(2)
    else:
        print(3)

Solution (Python):
print(len(set(input().split())))

Solution (Python):
print(len(set(list(map(int,input().split())))))

Solution (Python):
a,b,c = list(map(int,input().split()))
print((a==b and b==c)*(1)or((a!=b and b==c)or(a==b and b!=c)or(a==c and b!=c))*(2)or(a!=b and b!=c and a!=c)*(3))

Solution (Python):
S = list(set(map(int,input().split())))

print(len(S))

Solution (Python):
a,b,c=map(int,input().split())
if a==b==c:
    print(1)
elif a==b or a==c or b==c:
    print(2)
elif a!=b and a!=c and b!=c:
    print(3)

Solution (Python):
def main():
    ss = set(map(int, input().split()))
    print(len(ss))


if __name__ == '__main__':
    main()

Solution (Python):
a, b, c = map(int, input().split())
print(len(list(set([a, b, c]))))

Solution (Python):



def main():
    """Function."""
    val = set(list(map(int, input().split())))
    print(len(val))


if __name__ == "__main__":
    main()

Solution (Python):
print(len(set(input().split())))

Solution (Python):
args = set(map(int, input().split()))
print(len(args))

Solution (Python):
from statistics import mean, median,variance,stdev
import sys
import math

x = input().split()

a = []
for i in range(len(x)):
   a.append(int(x[i]))
num = 3
if a[0] ==a[2] or a[1] ==a[0] or a[2]==a[1]:num=2
if a[0] ==a[2] and a[1] == a[2]: print(1)
else: print(num)

Solution (Python):
a = [int(i) for i in input().split()]
a.sort()
a.append(-1)
count = 1
for i in range(1, len(a) - 1):
    if a[i] != a[i-1]:
        count += 1
print(count)

Solution (Python):
from collections import Counter
A=Counter(list(map(int,input().split())))

print(len(A.keys()))

Solution (Python):
a,b,c=map(int,input().split())
if a==b and b==c:
    print(1)
elif a==b and b!=c:
    print(2)
elif a==c and b!=c:
    print(2)
elif b==c and b!=a:
    print(2)
elif a!=b and b!=c:
    print(3)

Solution (Python):

a,b,c = map(int,input().split())
L = [a,b,c]
S = set(L)
print(len(S))

Solution (Python):
a,b,c=input().split()
print(3-(a==b)-(b==c)-(c==a)+(a==b==c))

Solution (Python):
print(len(set(map(int, input().split()))))

Solution (Python):
a,b,c=map(int, input().split())
ans=1
if(a!=b):
	ans+=1
if(a!=c and b!=c):
	ans+=1
print(ans)

Solution (Python):
a, b, c = [int(_) for _ in input().split()]
x = bool(a-b)+bool(b-c)+bool(c-a)
if x:
    print(x)
else:
    print(1)

Solution (Python):
print(len(set([i for i in input().split()])))

Solution (Python):
a,b,c = map(int,input().split())
if(a==b and b==c):
  print(1)
elif( a!=b and b!=c and c!=a):
  print(3)
else:
  print(2)

Solution (Python):
a, b, c = map( int, input().split())
if a == b and b == c:
    print(1)
elif a == b or b == c or c == a:
    print(2)
else:
    print(3)

Solution (Python):
l = set(int(i) for i in input().split())
print(len(l))

Solution (Python):
a = set(input().split())
print(len(a))

Solution (Python):

a, b, c = map(int, input().split())

if a == b:
    if b == c:
        print(1)
    else:
        print(2)
else:
    if b == c:
        print(2)
    elif a == c:
        print(2)
    else:
        print(3)

Solution (Python):
print(len(set(input().split())))

Solution (Python):
A = set(map(int, input().split()))
print(len(A))

Solution (Python):
s = list(input().split(" "))
s_set = list(set(s))
print(len(s_set))

Solution (Python):
a,b,c = input().split()
print(len(set([a,b,c])))

Solution (Python):
print(len(set([int(x) for x in input().split()])))

Solution (Python):
a,b,c=map(int,input().split(" "))
print(len(set((a,b,c))))

Solution (Python):
abc = raw_input().split()
print len(set(abc))

Solution (Python):
s = set(input().split())
print(len(s))

Solution (Python):
color = {int(i) for i in input().split()}
print(len(color))

Solution (Python):
a=input().strip().split(" ")

b=[int(i) for i in a]

if(b[0]==b[1]==b[2]):
    print("1")
    
elif(b[0]==b[1] or b[2]==b[1] or b[0]==b[2]):
    print("2")

else:
    print("3")

Solution (Python):
inp = list(map(int, input().split()))

res = []
for x in inp:
    if not res.__contains__(x):
        res.append(x)

print(res.__len__())

Solution (Python):
X=input()
penki=X.split(" ")
s_penki=set(penki)
print(len(s_penki))

Solution (Python):
A = list(map(int, input().split()))

print(len(list(set(A))))

Solution (Python):
a = input().split()

if a[0]==a[1]:
  if a[1] == a[2]:
    print(1)
  else:
    print(2)
else:
  if a[0]==a[2] or a[1]==a[2]:
    print(2)
  else:
    print(3)

Solution (Python):
print(len(set(map(int, input().split()))))

Solution (Python):


a, b, c = map(int, input().split())
count = 0

if a != b:
    count += 1
if a != c:
    count += 1
if b != c:
    count += 1
if count == 0:
    print('{0}'.format(1))
else:
    print(count)

Solution (Python):
a = list(map(int,input().split()))
if a[0] == a[1] and a[1] == a[2]:
  print(1)
elif a[0] != a[1] and a[1] != a[2] and a[2] != a[0]:
  print(3)
else:
  print(2)

Solution (Python):
s = input().split()
print(len(set(s)))

Solution (Python):
print(len(set(map(int, input().split()))))

Solution (Python):
L = [int(i) for i in input().split()]
S = set(L)
print(S.__len__())

Solution (Python):
a = list(map(int,input().split()))
a = set(a)
print(len(a))

Solution (Python):
s = set(input().split())
print(len(s))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
print(len(set(input().split())))

Solution (Python):
a,b,c = map(int,input().split())
cou = 0
if a != b:
    cou += 1
if a != c:
    cou += 1
if b != c:
    cou += 1
if a == b and b == c:
    cou += 1
print(cou)

Solution (Python):
nums = list(map(int, input().split()))
n = 1
if nums[0] != nums[1]:
	n+=1
if nums[1] != nums[2] and nums[0] != nums[2]:
	n+=1
print(n)

Solution (Python):
print(len(set(list(map(int,input().split())))))

Solution (Python):
a=list(map(int,input().split()))
print(len(set(a)))

Solution (Python):
def main():
    a, b, c = map(int, input().split())

    ans = 0
    if a == b and b == c:
        ans = 1
    elif a == b or b == c or c == a:
        ans = 2
    else:
        ans = 3

    print(ans)


if __name__ == "__main__":
    main()

Solution (Python):
a,b,c=map(int,input().split())
if(a==b)&(b==c)&(c==a):
    print(1)
elif(a==b)|(b==c)|(c==a):
    print(2)
else:
    print(3)

Solution (Python):
a, b, c =  list(map(int, input().split()))

ans = (a!=b) + (b!=c) + (c!=a)

ans = 1 if ans == 0 else ans

print(ans)

Solution (Python):
a,b,c=map(int,input().split())

cnt=3
if a==b and b==c:
    cnt=1
elif a==b or b==c or a==c:
    cnt=2

print(cnt)

Solution (Python):
print(len(set(input().split())))

Solution (Python):
a, b, c = map(int,input().split())

se = {a, b, c}
print(len(se))

Solution (Python):
a=set(map(int,input().split()))
print(len(a))

Solution (Python):
a = input().split(" ")
b = set(a)
print(len(b))

Solution (Python):
A, B, C = map(int, input().split())
if A == B and B == C:
    print('1')
elif A == B or B == C or C == A:
    print('2')
else:
    print('3')

Solution (Python):
def main():
    a,b,c=map(int, input().split())
    number=1
    if a==b:
        if b==c:
            number=1
        else:
            number=2
    else:
        if b==c:
            number=2
        elif a==c:
            number=2
        else:
            number=3
    print(number)


if __name__ == "__main__":
    main()

Solution (Python):
S = list(map(int, input().split()))
a = S[0]
b = S[1]
c = S[2]
if(a == b and b == c):
    print(1)
elif(a == b or b == c or a == c):
    print(2)
else:
    print(3)

Solution (Python):
a,b,c = map(int,input().split())
a = set([a,b,c])
print(len(a))

Solution (Python):



"""
1≦a,b,c≦100
"""

a, b, c = map(int, input().split())
variety = 3

if a == b:
    variety -= 1
if a == c:
    variety -= 1
elif b == c:
    variety -= 1
print(variety)

Solution (Python):
li = list(map(int,input().split()))
li.sort()

if li[0] == li[1] and li[1] == li[2]:
    print(1)
elif li[0] == li[1] or li[1] == li[2]:
    print(2)
else:
    print(3)

Solution (Python):
print(len(set(input().split())))

Solution (Python):
li=input().split()
Ans=list(set(li))
print(len(Ans))

Solution (Python):
print(len(set(list(map(int, input().split())))))