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):
A = [int(x) for x in input().split()]
ans = 0
dic = {}
for x in A:
  if not x in dic:
    dic[x] = True
    ans += 1
print(ans)

Solution (Python):
l = input().split(' ')

print(len(set(l)))

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

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

Solution (Python):
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil
from operator import itemgetter
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]
inf = 10**17
mod = 10**9 + 7


col=list(set(LI()))
print(len(col))

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

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

Solution (Python):
import sys
def input(): return sys.stdin.readline().strip()

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

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

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

Solution (Python):
r = list(map(int,input().split()))
a = [0]*100
for i in r:
  a[i-1]=1
  
print(sum(a))

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

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

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

Solution (Python):
print(len({int(_) for _ in input().split()}))

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

Solution (Python):
from collections import defaultdict
a, b, c = map(int, input().split())
cnt = defaultdict(int)
cnt[a] += 1
cnt[b] += 1
cnt[c] += 1
print(len(cnt))

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

Solution (Python):
a=[int(i) for i in input().split()]
b=[]
for i in a:
    if i not in b:
        b.append(i)
print(len(b))

Solution (Python):
print(len(list(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 a == c or b == c:
  print(2)
else:
  print(3)

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

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,b,c=map(int,input().split())
print(len(set([a,b,c])))

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(set(s)))

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

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

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

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

Solution (Python):
a,b,c=[int(i) for i in 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(int,input().split())

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

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

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

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

Solution (Python):
def main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**7)
    from collections import Counter, deque
    
    from itertools import combinations, permutations, accumulate, groupby, product
    from bisect import bisect_left,bisect_right
    from heapq import heapify, heappop, heappush
    from math import floor, ceil
    

    
    

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

if __name__ == '__main__':
    main()

Solution (Python):
if __name__ == '__main__':
  s = input()
  a= [int(elem) for elem in s.rstrip().split(' ')]
  print(len(set(a)))

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

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

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

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

A=set(list)

print(len(A))

Solution (Python):
from collections import Counter
p  = map(int ,input().split())
print(len(Counter(p)))

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

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

A = set(A)

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

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

print(n)

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

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

if a == b and a == c:
    print(1)
elif a == b or b == c or c == a:
    print(2)
else:
    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 = map(int,input().split())

i = 3
if a==b:
    i-=1
if b==c:
    i-=1
if c==a:
    i-=1
if not i:
    i=1
print(i)

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

i = 3
if a==b:
    i-=1
if b==c:
    i-=1
if c==a:
    i-=1
if not i:
    i=1
print(i)

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 c == a:
  print(2)
else:
  print(3)

Solution (Python):

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

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

print(len(set(abc)))

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

Solution (Python):
def resolve():
	s = input().split()
	uni = []
	for i in s:
		if i not in uni:
			uni.append(i)
	print(len(uni))
resolve()

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

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

print(len(color))

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

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

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

if A[0]==A[1] and not A[0]==A[2]:
    print(2)
elif not A[0]==A[1] and not A[1]==A[2] and not A[0]==A[2]:
    print(3)
elif A[0]==A[2] and not A[0]==A[1]:
    print(2)
elif A[1]==A[2] and not A[1]==A[0]:
    print(2)
else:
    print(1)

Solution (Python):
num = [0] * 100
for i in map(int, input().split()):
    num[i-1] += 1

count = 0
for i in num:
    if i >= 1:
        count += 1

print(count)

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

Solution (Python):
if __name__ == "__main__":
  a, b, c = map(int,input().split())
  ans = 3
  if a == b and b == c:
    print("1")
    exit()
  if a == b or b == c or c == a:
    print("2")
    exit()
  print("3")

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

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

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

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

Solution (Python):
import sys

stdin = sys.stdin
inf = 1 << 60
mod = 1000000007

ni      = lambda: int(ns())
nin     = lambda y: [ni() for _ in range(y)]
na      = lambda: list(map(int, stdin.readline().split()))
nan     = lambda y: [na() for _ in range(y)]
nf      = lambda: float(ns())
nfn     = lambda y: [nf() for _ in range(y)]
nfa     = lambda: list(map(float, stdin.readline().split()))
nfan    = lambda y: [nfa() for _ in range(y)]
ns      = lambda: stdin.readline().rstrip()
nsn     = lambda y: [ns() for _ in range(y)]
ncl     = lambda y: [list(ns()) for _ in range(y)]
nas     = lambda: stdin.readline().split()

a = na()
s = set(a)
print(len(s))

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

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

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):

import sys
input = sys.stdin.readline









A,B,C = map(int,input().split())
ans = len(set([A,B,C]))

print(ans)

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

Solution (Python):
l=list(map(int,input().split()))
tmp = []
count=0
for i in l:
    if not i in tmp:
        count+=1
        tmp.append(i)
print(count)

Solution (Python):
icase=46    
if icase==46:
    a=list(map(int,input().split()))
    icnt=1
    if a[0]!=a[1]:
        icnt=icnt+1
    if a[0]!=a[2] and  a[1]!=a[2]:
        icnt=icnt+1
    print(icnt)

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

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

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

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

l = [0]*101

for i in a:
  l[i] += 1

print(len(list(filter(lambda x: x !=0, l))))

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

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

print(len(s))

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

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

Solution (Python):
import sys
import os
import math

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))
fl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)]

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
sl = lambda: list(map(str, sys.stdin.buffer.readline().decode().split()))
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]

MOD = 10 ** 9 + 7


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    p = il()
    print(len(set(p)))


if __name__ == '__main__':
    main()

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

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

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

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

Solution (Python):

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

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

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

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

li = sorted(l)

a = li[0] 
b = li[1] 
c = li[2] 

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

Solution (Python):
paint = list(map(int,input().split()))
cnt = {}

for c in paint:
    cnt.setdefault(c,0)
    cnt[c] += 1
    
print(len(cnt))

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

Solution (Python):
A = sorted(list(map(int, input().split())))
cnt = 1
for i in range(1, len(A)):
  if A[i] != A[i - 1]:
    cnt += 1
print(cnt)

Solution (Python):
url = "https://atcoder.jp/contests/abc046/tasks/abc046_a"

def main():
    li = list(input().split())
    print(len(set(li)))
if __name__ == '__main__':
    main()

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

import collections

c=collections.Counter(l)
print(len(c.keys()))

Solution (Python):
A = input().split(" ")

a = A[0]
b = A[1]
c = A[2]

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

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

Solution (Python):
import sys

input = sys.stdin.readline


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

    ans = 3
    if a == b == c:
        ans = 1
    else:
        if a == b:
            ans -= 1
        if b == c:
            ans -= 1
        if c == a:
            ans -= 1
    print(ans)


if __name__ == "__main__":
    main()

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

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

Solution (Python):


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

print( len( cols ) )

Solution (Python):

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

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

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

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

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

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

n = len(se)
print(str(n))

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

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

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

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

Solution (Python):
l = list(input().split())
d = {}
for i in l:
    if i in d:
        d[i] +=1
    else:
        d.setdefault(i,1)
print(len(d))

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

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

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

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

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

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

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

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

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

Solution (Python):
li = input().split()
if li[0] == li[1] or li[0] == li[2] or\
    li[1] == li[2]:
    if  li[0]==li[1]==li[2]:
        print(1)
    else:
        print(2)
else:
    print(3)

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

print(len(set(a)))

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

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

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

if __name__ == '__main__':
  main()

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

print(len(p))

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

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

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

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

if __name__ == '__main__':
    q1()

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

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

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

Solution (Python):
import sys

*c, = map(int, sys.stdin.readline().split())

def main():
    print(len(set(c)))

if __name__ ==  '__main__':
    main()

Solution (Python):

a, b, c = [int(s) for s in input().split()]
print(len({a, b, c}))

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

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

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

Solution (Python):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    aset = set(a)
    print(len(aset))

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

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

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

Solution (Python):

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

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

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

Solution (Python):

from sys import stdin
from operator import itemgetter
import math


a = list(map(int,[int(x) for x in stdin.readline().rstrip().split()]))
b = list(set(a))
print(len(b))

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

print(len(a))

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

Solution (Python):
import math

a,b,c=input().split()
l=[a,b,c]


print(len(set(l)))

Solution (Python):
a,b,c = list(map(int,input().split()))
if a==b==c:print('1')
elif (a==b and c!=a) or (b==c and a!=b) or (c==a and b!=c):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 and b!=c) or (b==c and c!=a) or (c==a and a!=b):
  print(2)
else:
  print(3)

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

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


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

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

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

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

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

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

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

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

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

if a != b and a != c:
    pass
else:
    total -= 1

if b != c:
    pass
else:
    total -= 1

print(total)

Solution (Python):
x=list(map(int, input().split()))
import numpy as np
print(np.unique(x).size)

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

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

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

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

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

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

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

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

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

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

if line[0] == line[1] or line[1] == line[2] or line[0] == line[2]:
    print(len(set(line)))
else:
    print(len(line))

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

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

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

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

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    a,b,c=MI()
    print(len(list(set([a,b,c]))))

main()

Solution (Python):
x, y, z = input().split()

if x == y == z:
    print ("1")
elif x == y != z:
    print ("2")
elif x == z != y:
  print ("2")
elif y == z != x:
  print ("2")
else:
  print ("3")

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

ans = set(A)
print(len(ans))

Solution (Python):

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

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

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

_set = set(_list)

print(len(_set))

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

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

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

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 a==c or b==c:
    print(2)
else:
    print(3)

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

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

Solution (Python):

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

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

if a==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):
a,b,c=map(int,input().split())
if a==b and a==c and b==c:
    print(1)
elif a!=b and b!=c and a!=c:
    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()))
if a!=b and a!=c and b!=c:
  print(3)
elif a==b and a==c and b==c:
  print(1)
elif (a==b and a!=c)or(a==c and a!=b)or(b==c and b!=a):
  print(2)

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

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

Solution (Python):
import sys
readline = sys.stdin.buffer.readline

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

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

Solution (Python):



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

print(len(set(l)))

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

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

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

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

Solution (Python):

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

Solution (Python):


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

print(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 == c:
  print('1')
elif a == b != c:
  print('2')
elif b == c != a:
  print('2')
elif c == a != b:
  print('2')
else:
  print('3')

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

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

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

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

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

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

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

print(ans)

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

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

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

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

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

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,b,c = [int(i) for i in input().split()]


if (a==b) & (b==c):
  ans =int(1)
  
elif (a!=b) & (b!=c) & (c!=a):
  ans = int(3)
else:
  ans = int(2)
  
print(ans)

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

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

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

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

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

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

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

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

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

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

Solution (Python):

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

print(len(l))

Solution (Python):

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

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

Solution (Python):

s = input().strip().split()

s_set=set(s)
print(len(s_set))

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

print(len(st))

Solution (Python):
s = set()

for c in map(int, input().split()):
  s.add(c)

print(len(s))

Solution (Python):
i=list(map(int,input().split()))
i.sort()
a=0
for k in range(len(i)):
  if k==0:
    a+=1
  elif i[k]!=i[k-1]:
    a+=1
print(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,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():
    paint_cans = list(map(int, input().split()))
    print(len(set(paint_cans)))


if __name__ == '__main__':
    main()

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

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

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

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

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

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

print(len(total))

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

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

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

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

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

list = []
cnt = 0

for i in string_list:
    if not i in list:
        list.append(i)
        cnt += 1

print(cnt)

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

Solution (Python):


import math
from collections import defaultdict

s = [int(s) for s in input().split()]

print(len(set(s)))

Solution (Python):
winput = [i for i in input().split()]
wlist = []
for i in range(3) :
    if not winput[i] in wlist :
        wlist.append(winput[i])
print(len(wlist))

Solution (Python):

 
 
def main():
 
    penki_list = input().split(' ')

    
    
    print(len(set(penki_list)))
 
    return 0
 
 
if __name__ == '__main__':
    main()

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

print(len(a))

Solution (Python):


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

print(len(color))

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

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

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

print(len(s))

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