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-----
3 1 4

-----Sample Output-----
3

Three different colors: 1, 3, and 4.

Difficulty: introductory

Starter code:

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

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

lst = input().split()
if len(lst) == len(set(lst)):
	print('3')
if len(lst)-1 == len(set(lst)):
	print('2')
if len(lst)-2 == len(set(lst)):
	print('1')


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


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

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

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

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

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

a,b,c=input().split()
ls=[a,b,c]
ls.sort()
if ls[0]==ls[1]==ls[2]:
  print("1")
else:
  if ls[0]==ls[1]:
    print("2")
  else:
    if ls[1]==ls[2]:
      print("2")
    else:
      print("3")

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

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

abc =list(input().split())

print(len(set(abc)))

#!/usr/bin/env python3
l = list(map(int, input().split()))
l = set(l)
print((len(l)))


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)

s = set()
l = list(input().split())
for e in l:
  s.add(e)
print(len(s))

a, b, c = list(map(int, input().split()))
data = [a]
if not b in data:
    data.append(b)
if not c in data:
    data.append(c)
print(len(data))

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

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

#
# abc046 a
#

import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """3 1 4"""
        output = """3"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """3 3 33"""
        output = """2"""
        self.assertIO(input, output)


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

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


def __starting_point():
    # unittest.main()
    resolve()

__starting_point()

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


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

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

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

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

abc=list(map(int , input().split()))
count=0
for i in range(0,len(abc)-1):
    abc.sort()
    if(abc[i] != abc[i+1]):
        count+=1
        
        
    
    
print(count+1)

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

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

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

A = list(map(int, input().split()))
Num = [0]*101
cnt = 0
for i in A:
    Num[i] += 1
    if Num[i] == 1:
        cnt +=1
        
print(cnt)

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

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

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

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

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

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

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

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

    c_set = set(c)
    print((len(c_set)))


def __starting_point():
    main()

__starting_point()

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


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

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)

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)

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

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

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

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

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

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

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

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


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

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

a = input().split()
if a[0] == a[1] == a[2]:
  print(1)
elif a[0] == a[1] or a[1] == a[2] or a[2] == a[0]:
  print(2)
else:
  print(3)

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

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

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


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

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

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

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

print(len(set(a)))

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

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

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

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

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



def solve():
    print(len(set(input().split())))


def __starting_point():
    solve()
__starting_point()

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

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

import collections

n = list(input().split())

c = collections.Counter(n)

print(len(c))

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

print((len(a)))



import numpy as np
array = list(map(int, input().split(' ')))
print(len(np.unique(array)))


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

print(len(s))

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

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

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)

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

a = list(input().split())
if a[0] == a[1] and a[1] == a[2]:
    print(1)
elif a[0] == a[1] or a[1] == a[2] or a[2] == a[0]:
    print(2)
else:
    print(3)

data=list(input().split())
s=1
for i in range(1,len(data)):
    for j in range(0,i):
        if data[i]==data[j]:
            data[i]=-1
    if data[i]!=-1:
        s=s+1            
print(s)



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

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

import collections
color = map(int, input().split())
print(len(collections.Counter(color)))

def iroha():
    a, b, c = list(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))

def __starting_point():
    iroha()


__starting_point()

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

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

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

import numpy as np
a = list(map(int, input().split()))


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


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

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

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

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

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

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

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)

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

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

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

print(len(set(a)))

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

if a == b == c:
    print(1)
    return
if a == b:
    count -=1
if a == c:
    count -=1
if b == c:
    count -=1
print(count)

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

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

def si(): return input()
def ii(): return int(input())
def fi(): return float(input())
def lint(): return list(map(int, input().split()))
def lint_dec(): return list(map(lambda x:int(x) - 1, input().split()))
def lnstr(n): return [input() for _ in range(n)]
def lnint(n): return [int(input()) for _ in range(n)]
def dfs_input(G, m):
    for _ in range(m):
        a, b = lint_dec()
        G[a].append(b)
        G[b].append(a)


###################################
print(len(set(lint())))

str_line = input().split(" ")
num_line = [int(n) for n in str_line]

num_line.sort()
num_list = [num_line[0]]
for i in range(1,len(num_line)):
    if num_line[i] != num_line[i-1]:
        num_list.append(num_line[i])

#print(num_list)
print(len(num_list))

import sys
input = lambda: sys.stdin.readline().rstrip()

def main():
    x = list(map(int, input().split()))
    print(len(set(x)))
    
def __starting_point():
    main()
__starting_point()

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

a, b, c = list(map(int, input().split()))
L = []
L.append(a)
L.append(b)
L.append(c)

L = list(set(L))

print((len(L)))


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

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