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):
def solve():
    n = [int(i) for i in input().split()][:3]


    c1 = n.count(n[0])
    c2 = n.count(n[1])
    c3 = n.count(n[2])


    if(c1 == 3):
        print(1)
    elif(c1 == c2 == c3 == 1):
        print(3)
    else:
        print(2)


if __name__ == '__main__':
    solve()

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

Solution (Python):
l=list(map(int,input().split()))
n=1
ml=[]
for i in l:
 if i not in ml:
  ml.append(i)
print(len(ml))

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

b = set(arr)

print(len(b))

Solution (Python):
a,b,c=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()))
print(len(set(a)))

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 a == b == c :
    count =1
print(count)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
a,b,c=map(int,input().split())
ans=0
x=dict()
x[a]=1
x[b]=1
x[c]=1
for idx in x:
    ans+=1
print(ans)

Solution (Python):

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

print(len(s))

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

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

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

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

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

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

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

Solution (Python):
l=list(map(int,input().split()))
print(4-max(l.count(l[0]),l.count(l[1]),l.count(l[2])))

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

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

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

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

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

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

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

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

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

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

Solution (Python):
a,b,c = 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):
a = list(map(int, input().split()))
print(len(set(a)))

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

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):
print(len(set(input().split())))

Solution (Python):

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


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

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

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):
P=list(map(int,input().split()))
print(len(set(P)))

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()))
print(len(set(a)))

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

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

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 B==C and B!=A :
  print(2)

elif A==C and A!=B :
  print(2)

else :
  print(3)

Solution (Python):
li = [int(i) for i in input().split()]
li.sort()
ans = 1
for i in range(1,3) :
    if li[i] != li[i-1] :
        ans +=1
print(ans)

Solution (Python):
"""
author : halo2halo
date : 2, Feb, 2020
"""

import sys
import itertools

import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

print(len(set(list(map(int, readline().split())))))

Solution (Python):
A,B,C = map(int,input().split())
color = set([A,B,C])
print(len(color))

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

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

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

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

Solution (Python):


l = input().split()
print(len(sorted(set(l))))

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

Solution (Python):




def main():
    A, B, C = list(map(int, input().split()))
    print(len(set([A, B, C])))


if __name__ == "__main__":
    main()

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

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

ans.append(a)

if ans.count(b) == 0:
    ans.append(b)

if ans.count(c) == 0:
    ans.append(c)

print(len(ans))

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

print(len(set(l)))

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

print(len(set(l)))

Solution (Python):
from collections import Counter


def number_of_color_types(today_color, ßyesterday_color,
                          day_before_yesterday_color):
    last_three_days_color_list = [
        today_color,
        ßyesterday_color,
        day_before_yesterday_color
    ]

    return len(Counter(last_three_days_color_list))


if __name__ == '__main__':
    today_color, yesterday_color, \
        day_before_yesterday_color = map(int, input().split())

    print(number_of_color_types(today_color,
                                yesterday_color, day_before_yesterday_color))

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

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

penkis = []
penkis.append(a)
penkis.append(b)
penkis.append(c)

print(len(list(set(penkis))))

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

penki = []
for i in range(len(abc)):
    if abc[i] not in penki:
        penki.append(abc[i])
        
print(len(penki))

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

Solution (Python):
lis = list(map(int, input().split()))
unique_list = []
for i in range(len(lis)):
    if lis[i] in lis[:i] + lis[i+1:] and lis[i] in unique_list:
        continue
    unique_list.append(lis[i])
print(len(unique_list))

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

print(len(set(L)))

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

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

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

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

ans = len(set([a, b, c]))

print(ans)

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

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

t = set([a,b,c])
print(len(t))

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

Solution (Python):
a=list(map(int,input().split()))
exist=[]
cnt=0

for i in range(3):
    if not(a[i] in exist):
        cnt+=1
        exist.append(a[i])

print(cnt)

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

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

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

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

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):
x,y,z = map(int,input().split())
if x == y and y==z:
  print(1)
elif x == y or y == z or z ==x :
  print(2)
else:
  print(3)

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

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

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

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

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

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):
import sys
import numpy as np


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

color = np.array([a, b, c], dtype='int16')


color = np.unique(color)

print(color.size)

Solution (Python):
def main():
    from sys import stdin, setrecursionlimit
    
    
    r = stdin.readline()[:-1]
    
    
    
    
    
    a = list(map(int, r.split()))
    
    
    
    

    print(len(set(a)))

if __name__ == '__main__':
    main()

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

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):
abc = list(map(int,input().split()))
print(len(set(abc)))

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

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

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

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

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

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

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

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

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

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

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(map(int,input().split()))))

Solution (Python):
import sys
input = sys.stdin.readline
a=set(map(int,input().split()))
print(len(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):
print(len(set(input().split())))

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

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

print(len(set(a)))

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

print(len(set(data)))

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

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

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

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

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

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

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

Solution (Python):
l1 = [int(i) for i in input().split()]
s1 = set(l1)

print(len(s1))

Solution (Python):
a,b,c = [int(i) for i in input().split()]
n = 3
if a == b and a == c:
    print(1)
else:
    if a == b:
        n = n-1
    elif b == c:
        n = n-1
    elif a == c:
        n = n-1
    print(n)

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

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

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

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

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

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

Solution (Python):

def main():
    ABC = input().split()
    print(len(set(ABC)))


if __name__ == "__main__":
    main()

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

if a[0] == a[1]:
    num = num - 1
    if a[0] == a[2]:
        num = num - 1
elif a[0] == a[2]:
    num = num - 1
elif a[1] == a[2]:
    num = num - 1
    
print(num)

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

Solution (Python):

array = sorted(list(map(int,input().split())))


result = 1

for i in range(len(array)-1):
 if array[i] != array[i+1] :
    result+=1

print(result)

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

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

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

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

ans = []

for i in colors:
    if not i in ans:
        ans.append(i)

print(len(ans))

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

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

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

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

Solution (Python):
import sys
input = sys.stdin.readline
a, b, c = [int(x) for x in input().split()]
ng = []
cnt = 0
for i in [a, b, c]:
    if i not in ng:
        cnt += 1
        ng.append(i)
print(cnt)

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

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, b, c = map(lambda x: int(x), input().split())
lis = set([a, b, c])

print(len(lis))

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

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

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):
data = [int(i) for i in input().split(" ")]
print(len(set(data)))

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

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

if a==b==c:
    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):


import sys
input = sys.stdin.readline

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

s = set([a,b,c])

print(len(s))

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

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):
x = [i for i in input().split()]

print(len(set(x)))

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

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

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

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

Solution (Python):
l=list()
a=list(map(int,input().split()))
c=0
for x in a:
    if x not in l:
        l.append(x)
print(len(l))

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

print(len(set(a)))

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

Solution (Python):
x = list(input().split(' '))
x_del_dup = list(set(x))
print(len(x_del_dup))

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

print(len(A))

Solution (Python):


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

colors = {}

colors[a] = 1

if b in colors :
  colors[b] = 2
else :
  colors[b] = 1

if c in colors :
  colors[c] = colors[c] + 1
else :
  colors[c] = 1

print(len(colors))

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

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

print(len(p))

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

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

Solution (Python):

import sys
 
def main(argv=sys.argv):
  
  set1 = set(input().split())
  print(len(set1))
  
  return 0
 
 
if __name__ == '__main__':
  sys.exit(main())

Solution (Python):

import sys


def main(argv=sys.argv):

    colors = input().split(' ')

    print(len(set(colors)))
    
    return 0


if __name__ == '__main__':
    sys.exit(main())

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

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

Solution (Python):
import collections

p = [int(x) for x in input().split()]
c = collections.Counter(p)
print(len(c))

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

Solution (Python):

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

Solution (Python):
s = input().split()
ans = {}
for ss in s:
  ans[ss] = 1
print(len(ans))

Solution (Python):



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

R = 0
while len(A) > 0:
    A = [a for a in A if a != A[0]]
    R += 1

print(R)

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

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):
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def gcd(a,b): 
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def divisors(a): 
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): 
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): 
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def main():
    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)
    return

if __name__=='__main__':
    main()

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

Solution (Python):

import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf')
ans = 0 ;count = 0 ;pro = 1

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

Solution (Python):
import math

a = set(input().split())
print(len(a))

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

Solution (Python):
import sys

a = set(map(int, sys.stdin.readline().split()))
print(len(a))

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

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

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

print(max(1, (a != b) + (b != c) + (c != a)))

Solution (Python):
se = {int(i) for i in input().split()}

print(len(se))

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

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

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 = len(set(map(int, input().split())))
print(l)

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

Solution (Python):


ans = 0

dic={}
for i in [int(a) for a in input().split()]:
    dic[i]=1
print(len(dic))

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

b = []
cnt = 0
for _a in a:
    if not _a in b:
        b.append(_a)
        cnt += 1
print(cnt)

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

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

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

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

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

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

Solution (Python):
import sys

paints = sys.stdin.readline().split()

def main():
    ans = len(set(paints))
    return ans

if __name__ == '__main__':
    ans = main()
    print(ans)

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

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

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

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

print(len(cos))

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

num_element = len(paint_unique) 
print(str(num_element))

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

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

Solution (Python):


penki = set(list(map(int, input().split())))
print(len(penki))

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

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=input().split()

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

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

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

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

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

print(len(set(li)))

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

print(len(abc))

Solution (Python):
import sys
def input():
    return sys.stdin.readline()[:-1]
import collections
print(len(collections.Counter(input().split())))

Solution (Python):
import collections
print(len(collections.Counter(input().split())))

Solution (Python):
import collections
print(len(collections.Counter(input().split())))

Solution (Python):

si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
a,b,c = nm()
d = set()
d.add(a)
d.add(b)
d.add(c)

print(len(d))

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

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

Solution (Python):
n = list(int(x) for x in input().split(' '))

ans = set(n)
print(len(ans))

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

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

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

print(len(list(set(lis))))

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

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

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

a.sort()

count = 1

if a[0] != a[1]:
    count += 1

if a[1] != a[2]:
    count += 1

print(count)

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

Solution (Python):
from sys import stdin

li = list(map(int,stdin.readline().rstrip().split()))

li = list(set(li))

print(len(li))

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

lis = [a,b,c]
lis_count = int(len(set(lis)))

print(lis_count)

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):
print(len(set(map(int, input().split()))))

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

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

countlis=[a,b,c]
newlis=[]
for i in range(1,101):
    newlis.append(countlis.count(i))
cnt=0
for j in range(100):
    if newlis[j]>=1:
        cnt+=1

print(cnt)

Solution (Python):

import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

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

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):
s=map(int,input().split())


print(len(set(s)))

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

Solution (Python):
import collections
a = list(map(int, input().split()))
c = collections.Counter(a)
print(len(c))

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

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

Solution (Python):
import numpy as np

P=np.asarray(list(map(int,input().split(" "))))

print(len(np.unique(P)))

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

Solution (Python):
import math
from string import ascii_lowercase
 
line = input()
a, b, c = [int(x) for x in line.split()]
 
d = set((a, b, c))
print(len(d))

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

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

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

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

Solution (Python):
a = map(int,input().split())
dic ={}
ans = 0
for p in a:
  if p in dic:
    continue
  dic[p]=1
  ans+=1
  
print(ans)

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

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

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

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

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

Solution (Python):


def getlist():
    return list(map(int, input().split()))


nums = getlist()

n = set(nums)

print(len(n))

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

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

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

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

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

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

Solution (Python):
N,M,K = map(int,input().split())
sum = 3
if (N == M or M == K or N == K) and not(N == M and M == K):
  sum = 2
elif N == M and M == K:
  sum = 1
print(sum)

Solution (Python):
a,b,c=map(int, input().split())
import collections
box = [a,b,c]
print(len(collections.Counter(box)))

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

Solution (Python):
paint = [int(item) for item in input().split()]
kind = len(set(paint))
print(kind)

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

Solution (Python):




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

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

Solution (Python):
a,b,c = map(int,input().split())
i,j,k,l = 0,0,0,0
if a == b:
    i = 1
if b == c:
    j = 1
if c == a:
    k = 1
if a == b & b == c:
    l = -1
print(3-(i+j+k+l))

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

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)