a=input().split()

a.sort()

cnt=0

while len(a)>0:

    i=a.count(a.pop(0))

    for j in range(i):

        a.pop(0)

    cnt+=1

print(cnt)
a,b,c=list(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))

else:

    print((3))
a = input().split()
a.sort()
cnt = 0
while len(a) > 0:
    i = a.count(a.pop(0))
    for j in range(i):
        a.pop(0)
    cnt += 1
print(cnt)

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

-a = input().split() -a.sort() -cnt = 0 -while len(a) > 0: -    i = a.count(a.pop(0)) -    for j in range(i): -        a.pop(0) -    cnt += 1 -print(cnt) +a, b, c = list(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)) +else: +    print((3))