ZhenlongDai/ACPR huggingface dataset:
Problem: p03962
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import sys
import math
import itertools
a, b, c = map(int, input().split())
if (a != b and b != c):
    print(3)
elif (a == b and b == c):
    print(1)
else:
    print(2)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
import sys
import math
import itertools
a, b, c = map(int, input().split())
if (a != b and b != c and a!=c):
    print(3)
elif (a == b and b == c):
    print(1)
else:
    print(2)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(len(set(input())))

Failing test case input:
3 12 -1

Expected output:
3


Actual output:
5


Fixed submission (verdict: Accepted):
print(len(set(input().split())))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y,z = map(int, input().split())

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

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
x,y,z = map(int, input().split())

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

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c= map(int, input().split())
if a==b==c:
  print(1)
elif a==b:
  print(2)
elif b==c:
  print(2)
else:
  print(3)

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(len(set([i for i in input()])))

Failing test case input:
5 -4 1

Expected output:
3


Actual output:
5


Fixed submission (verdict: Accepted):
print(len(set([i for i in input().split()])))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
s = set(s)
print(len(s))

Failing test case input:
5 16 4

Expected output:
3


Actual output:
5


Fixed submission (verdict: Accepted):
s = input().split()
s = set(s)
print(len(s))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=map(int,input().split())
p=3
if A==B:
  p=p-1
if A==C:
  p=p-1
print(p)

Failing test case input:
53 1 1

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input().split()
num = 3

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

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if a == b == c:
    print(1)
elif a == b or b == c:
    print(2)
else:
    print(3)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
color = [a]
if b not in color:
  color.append(b)
if c not in color:
  color.append(c)
print(color)


Failing test case input:
2 18 5

Expected output:
3


Actual output:
[2, 18, 5]


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
color = [a]
if b not in color:
  color.append(b)
if c not in color:
  color.append(c)
print(len(color))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


l = list(input().split())

print(set(l))

Failing test case input:
6 12 -1

Expected output:
3


Actual output:
{'6', '-1', '12'}


Fixed submission (verdict: Accepted):


l = list(input().split())

print(len(set(l)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())
if A == B and B == C:
    print('1')
elif A == B or B == C:
    print('2')
else:
    print('3')


Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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')

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = list(map(int,input().split()))
k = 1
if l[0]==l[1]:
    k+=1
if l[1]==l[2]:
    k+=1
if l[2]==l[0]:
    k+=1
print('{}'.format(k))


Failing test case input:
2 19 4

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
l = list(map(int,input().split()))
k=0
if l[0]== l[1]==l[2]:
    k+=1
if l[0]!=l[1]:
    k+=1
if l[1]!=l[2]:
    k+=1
if l[2]!=l[0]:
    k+=1
if k>3:
    k=3
print('{}'.format(k))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
count = 0

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


Failing test case input:
7 33 1

Expected output:
3


Actual output:
0


Fixed submission (verdict: Accepted):
count = 3
a, b, c = map(int, input().split())
if a == b:
    count -= 1
if a == c:
    count -= 1
if b == c:
    count -= 1
if count == 0:
    count += 1
print(count)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input().split()




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

Failing test case input:
94 2 0

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
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)
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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('1')

Failing test case input:
5 -1 33

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
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')

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if (a==b and b==c and a==c):
  print(3)
elif(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(1)

Failing test case input:
2 19 4

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if (a==b and b==c and a==c):
  print(1)
elif(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)

Problem: p03962
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

lst = input().split()


for i in range(len(lst)):
   lst[i] = int(lst[i])


lst.sort()


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

Failing test case input:
2 9 5

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):

lst = input().split()


for i in range(len(lst)):
   lst[i] = int(lst[i])


lst.sort()


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

Problem: p03962
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c = map(int, input().split())
count = 0
if a == b == c:
    print(1)
elif a == b and not b == c:
    print(2)
elif not a == b and not b == c:
    print(3)

Failing test case input:
27 1 1

Expected output:
2


Actual output:

Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
count = 3

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

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=list(map(int,input().split()))
for i in range(99):
  if A.count(i+1)==2:
    print(2)
  elif A.count(i+1)==3:
    print(1)
print(3)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
2
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

result = 3

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

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)
Problem: p03962
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
li = input().split()
set(li)
print(len(li))

Failing test case input:
53 2 2

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
li = input().split()
print(len(set(li)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

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

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

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):

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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
t=[int(i) for i in input().split()]
t.sort()
print(t)
a=1
for j in range(1,len(t)):
    if t[j-1]<t[j]:
        a=a+1
print(a)


Failing test case input:
4 12 4

Expected output:
2


Actual output:
[4, 4, 12]
2


Fixed submission (verdict: Accepted):
t=[int(i) for i in input().split()]
t.sort()

a=1
for j in range(1,len(t)):
    if t[j-1]<t[j]:
        a=a+1
print(a)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(3 if a!=b and a!= c else 1 if a==b and a==c else 2)

Failing test case input:
53 1 1

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a == b == c:
    print(3)
elif a == b or b == c or c == a:
    print(2)
else:
    print(1)

Failing test case input:
5 16 4

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def iroha():
    a, b, c = map(int, input().split())
    if a == b == c:
        print("1")
    elif a != b != c:
        print("3")
    else:
        print("2")

if __name__ == "__main__":
    iroha()



Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
def iroha():
    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)

if __name__ == "__main__":
    iroha()
Problem: p03962
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def iroha():
    a, b, c = map(int, input().split())
    if a == b == c:
        print(1)
    elif a != b != c:
        print(3)
    else:
        print(2)

if __name__ == "__main__":
    iroha()



Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
def iroha():
    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)

if __name__ == "__main__":
    iroha()

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a==b==c:
    print(1)
elif a==b or b==c:
    print(2)
else:
    print(3)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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 = 3
    elif X[0] == X[1] or X[0] == X[2] or X[1] == X[2]:
        ans = 2
    else:
        ans = 1
    print(ans)


    
    
        
   
if __name__ == '__main__':
    main()


Failing test case input:
3 1 33

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
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()

Problem: p03962
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
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 b == a:
  print(2)
else:
  print(3)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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 a == c:
  print(2)
elif a != b and b == c:
  print(2)
else:
  print(3)
Problem: p03962
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
sample = input()
sample_list = sample.split(" ")
count = 0
flag = 0
for i in range(len(sample_list)):
  for j in range(1, i):
    if sample_list[i] == sample_list[j]:
      flag = 1
  if flag == 0:
    count += 1
  flag = 0
print(count)


Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
sample = input()
sample_list = sample.split(" ")
count = 0
flag = 0
i = 0
j = 1
for i in range(len(sample_list)):
  for j in range(i):
    if sample_list[i] == sample_list[j]:
      flag = 1
  if flag == 0:
    count += 1
  flag = 0
print(count)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input().split()
print(set(S))


Failing test case input:
2 16 5

Expected output:
3


Actual output:
{'2', '5', '16'}


Fixed submission (verdict: Accepted):
S = input().split()
print(len(set(S)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print('1' if a==b==c else '2' if a==b or b==2 or c==2 else '3')

Failing test case input:
94 2 0

Expected output:
3


Actual output:
2


Fixed submission (verdict: Accepted):
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')

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=input()
print(len(set(n)))

Failing test case input:
6 12 -1

Expected output:
3


Actual output:
5


Fixed submission (verdict: Accepted):
n=input().split()
print(len(set(n)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a==b==c: print(1)
elif a==b or a==c: print(2)
else: print(3)


Failing test case input:
53 1 1

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(map(int,input().split()))
print(len(s))

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
s = set(list(map(int,input().split())))
print(len(s))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=(int(x) for x in input().split())

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

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a,b,c=(int(x) for x in input().split())

if a!=b and b!=c and c!=a:
    print('3')
elif a!=b or b!=c or c!=a:
    print('2')
else:
    print('1')
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
ans = 0
if a == b:
    if a == c:
        ans = 1
    else:
        ans = 2
else:
    if a == c:
        ans = 2
    else:
        ans = 3
print(ans)


Failing test case input:
94 2 2

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
ans = 0
if a == b:
    if a == c:
        ans = 1
    else:
        ans = 2
else:
    if a == c:
        ans = 2
    elif b == c:
        ans = 2
    else:
        ans = 3
print(ans)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input().split()




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


Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y,z = map(int, input().split())

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

Failing test case input:
53 1 1

Expected output:
2


Actual output:
1


Fixed submission (verdict: Accepted):
x,y,z = map(int, input().split())

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

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
len(set(list(map(int,input().split()))))

Failing test case input:
94 2 3

Expected output:
3


Actual output:

Fixed submission (verdict: Accepted):
print(len(set(list(map(int,input().split())))))

Problem: p03962
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
l=list()
a=list(map(int,input().split()))
c=0
for x in a:
    if x not in l:
        c+=1
print(c)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

l = [0] * 3

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

k = [0] * 3

k[0] = l.count(a)
k[1] = l.count(b)
k[2] = l.count(c)

print(max(k))



Failing test case input:
7 35 1

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

l = [0] * 3

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

k = [0] * 3

k[0] = l.count(a)
k[1] = l.count(b)
k[2] = l.count(c)

t = max(k)

if t == 1:
	t = 3
elif t ==3:
	t = 1
else:
	pass


print(t)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

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

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
 
if a != b and b != c and c != a:
  print(3)
elif a == b and b == c and c == a:
  print(1)
else:
  print(2)
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
lis = list(map(int, input().split()))
unique_list = []
for i in range(len(lis)):
    if lis[i] in unique_list or lis[i] in lis[:i] + lis[i+1:] :
        continue
    unique_list.append(lis[i])
print(len(unique_list))

Failing test case input:
4 16 4

Expected output:
2


Actual output:
1


Fixed submission (verdict: Accepted):
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))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
color = input().split()
len(set(color))

Failing test case input:
94 2 2

Expected output:
2


Actual output:

Fixed submission (verdict: Accepted):
color = input().split()
print(len(set(color)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y,z=map(int,input().split())
if x==y==z:
    print(1)
elif x!=y!=z:
    print(3)
else:
    print(2)


Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
x,y,z=map(int,input().split())
if x == y == z:
    print(1)
elif x != y and y != z and  x != z:
    print(3)
else:
    print(2)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

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

Failing test case input:
27 1 1

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
inp = list(map(int, input().split()))

res = []
for x in inp:
    res.append(x)
    if res.index(x):
        res.pop()

print(res.__len__())


Failing test case input:
5 -1 33

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
inp = list(map(int, input().split()))

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

print(res.__len__())

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

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

Failing test case input:
94 2 0

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
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')
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

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

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3
2


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=input().split()
List=sorted([a,b,c])
if a==b==c:print("1")
elif a==b or b==c:print("2")
else:print("3")

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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")

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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)
else:
    print(1)


Failing test case input:
53 2 2

Expected output:
2


Actual output:
1


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

cnt = 0

if a == b:
    cnt += 1

elif b == c:
    cnt += 1



if cnt == 0:
    print(3)
elif cnt == 1:
    print(2)
elif cnt == 2:
    print(1)

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

cnt = 0

if a == b:
    cnt += 1

if b == c:
    cnt += 1

if c == a:
    cnt += 1

if cnt == 0:
    print(3)
elif cnt == 1:
    print(2)
elif cnt == 3:
    print(1)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input().split()
s = {a[0]}
for i in a:
    s = s.union(i)
print(len(s))

Failing test case input:
53 1 1

Expected output:
2


Actual output:
4


Fixed submission (verdict: Accepted):
a = input().split()
s = {a[0]}
for i in a:
    s |= {i}
print(len(s))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
[a,b,c]=list(map(int,input().split()))
if a==b and b==c:
	print("1")
elif a!=b and b!=c:
	print("3")
else:print("2")

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
[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")
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
if a!=b!=c:
  print(3)
elif a!=b==c or a==c!=b or a==b!=c:
  print(2)
else:
  print(1)

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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 a != b:
    print(2)
else:
    print(3)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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 a != b or a==c and a!=b:
    print(2)
else:
    print(3)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a==b or b==c or c==a:
    if a==b==c:
        print(1)
    else:
        print(2)
else:
    print(2)

Failing test case input:
11 20 -1

Expected output:
3


Actual output:
2


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a==b or b==c or c==a:
    if a==b==c:
        print(1)
    else:
        print(2)
else:
    print(3)

Problem: p03962
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a, b, c = list(map(int, input().split()))
if a != b != c:
    print(3)
elif a == b == c:
    print(1)
else:
    print(2)


Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

if a != b == c:
	print(2)

if a == b != c:
	print(2)
	
if a == c != b:
	print(2)

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

Failing test case input:
4 16 4

Expected output:
2


Actual output:
2
3


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

if a != b == c:
	print(2)

if a == b != c:
	print(2)
	
if a == c != b:
	print(2)

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

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
d =[]
if a != b != c:
    print(3)
elif a == b == c:
    print(1)
else:
    print(2)

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
d =[]
if a != b and b != c and c != a:
    print(3)
elif a == b == c:
    print(1)
else:
    print(2)
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(map(int, input().split()))
b = 1
for i in range(1, 3):
    if a[i] != a[i-1]:
        b += 1
print(b)


Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a = list(map(int, input().split()))
b = 1
a.sort()
for i in range(1, 3):
    if a[i] != a[i-1]:
        b += 1
print(b)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(map(int, input().split()))
ans = 3
if a[0] == a[1]:
  ans -= 1
if a[1] == a[2]:
  ans -= 1
print(ans)


Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
line = input().split()
count = 0
if line.count(line[0])==3:
    print(1)
if line.count(line[0])==2:
    print(2)
if line.count(line[0])==1 and line.count(line[1])==1:
    print(3)
elif line.count(line[1])==2:
    print(2)


Failing test case input:
3 3 33

Expected output:
2

Actual output:
2
2


Fixed submission (verdict: Accepted):
line = input().split()
count = 0
if line.count(line[0])==3:
    print(1)
elif line.count(line[1])==2 or line.count(line[0])==2:
    print(2)
else:
    print(3)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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(1)

Failing test case input:
7 33 -1

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if(a==b and b==c):
  print(1)
elif(a==b or b==c):
  print(2)
else:
  print(3)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = list(map(int, input().split()))
A = [a, b, c]
A.sort()
if A[0] == A[2]:
	print(3)
elif A[0] == A[1] or A[1] == A[2]:
	print(2)
else:
	print(1)

Failing test case input:
3 17 -1

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
a, b, c = list(map(int, input().split()))
A = [a, b, c]
A.sort()
if A[0] == A[2]:
	print(1)
elif A[0] == A[1] or A[1] == A[2]:
	print(2)
else:
	print(3)
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int, input().split())
list=[a,b,c]
list.sort()
if list[0]==list[1]==list[2]:
    print(3)
elif list[1]==list[0] or list[1]==list[2]:
    print(2)
else:
    print(1)



Failing test case input:
5 0 33

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
a,b,c=map(int, input().split())
list=[a,b,c]
list.sort()
if list[0]==list[1]==list[2]:
    print(1)
elif list[1]==list[0] or list[1]==list[2]:
    print(2)
else:
    print(3)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if (a!=b,b!=c,a!=c):
  print(3)
elif(a==b,b!=c):
  print(2)
elif(b==c,c!=a):
  print(2)
elif(c==a,a!=b):
  print(2)
else:
  print(1)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if (a==b and b==c and a==c):
  print(1)
elif(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)

Problem: p03962
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input().split()
set(a)
print(len(a))

Failing test case input:
27 1 1

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a = input().split()
a = set(a)
print(len(a))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int,input().split())
if a == b == c:
    print(3)
elif a == b or b == c or a == c:
    print(2)
else:
    print(1)

Failing test case input:
5 16 4

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

cnt = 3
if a == b or b == c:
    cnt -= 1
    if b == c or a == c:
        cnt -= 1
print(cnt)


Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
penki = input().split()

if penki[0] == penki[1] and penki[1] == penki[2]:
    print(1)

elif penki[0] == penki[1] and penki[1] != penki[2]:
    print(2)
    
elif penki[0] != penki[1] and penki[1] == penki[2]:
    print(2)

else:
    print(3)



Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):

penki = input().split()

if penki[0] == penki[1] and penki[1] == penki[2]:
    print(1)

elif penki[0] == penki[1] and penki[1] != penki[2]:
    print(2)
    
elif penki[0] != penki[1] and penki[1] == penki[2]:
    print(2)

elif penki[0] != penki[1] and penki[0] == penki[2]:
    print(2)
    
else:
    print(3)
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a == b and b == c:
    print(1)
elif (a != b and b == c) or (a == b or b != c):
    print(2)
else:
    print(3)

Failing test case input:
2 16 5

Expected output:
3


Actual output:
2


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if a == b and b == c:
    print(1)
elif (a != b and b == c) or (a == b and b != c) or (a == c and a != b):
    print(2)
else:
    print(3)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = list(map(int,input().split()))
k = 1
if l[0]==l[1]:
    k+=1
if l[1]==l[2]:
    k+=1
if l[2]==l[0]:
    k+=1
if k>3:
    k=3
print('{}'.format(k))


Failing test case input:
7 35 2

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
l = list(map(int,input().split()))
k=0
if l[0]== l[1]==l[2]:
    k+=1
if l[0]!=l[1]:
    k+=1
if l[1]!=l[2]:
    k+=1
if l[2]!=l[0]:
    k+=1
if k>3:
    k=3
print('{}'.format(k))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c= map(int, input().split())
if a==b and b==c:
  print(1)
elif a==b:
  print(2)
elif b==c:
  print(2)
else:
  print(3)

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = sorted(list(map(int,input().split())))
if a == c:
    print("1")
elif a == b | b == c:
    print("2")
else:
    print("3")



Failing test case input:
53 1 1

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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")

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(map(int, input().split()))
if a[0] == a[1] == a[2]:
    print(1)
elif a[0] != a[1] != a[2]:
    print(3)
else:
    print(2)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
d=[a,b,c]
d =list(set(d))
print(d)

Failing test case input:
5 -1 33

Expected output:
3


Actual output:
[33, 5, -1]


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
d=[a,b,c]
d =list(set(d))
print(len(d))
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


colors = input().split()

bef = 0
count = 0
colors.sort()

for c in colors:
    print(c)
    if bef == 0:
        count += 1
        bef = c
    else:
        if c > bef:
            count += 1
            bef = c

print(count)


Failing test case input:
2 16 5

Expected output:
3


Actual output:
16
2
5
3


Fixed submission (verdict: Accepted):


colors = input().split()

bef = 0
count = 0
colors.sort()

for c in colors:
    if bef == 0:
        count += 1
        bef = c
    else:
        if c > bef:
            count += 1
            bef = c

print(count)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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)
else:
    print(3)

Failing test case input:
53 1 1

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
l = s.split()


count = 0

if l[0] != l[1]:
  count += 1
if l[1] != l[2]:
  count += 1
if l[2] != l[0]:
  count += 1
  
print(int(count/2))


Failing test case input:
7 35 1

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
s = input()
l = s.split()
 
 
count = 6
 
if l[0] == l[1]:
  count -= 1
if l[1] == l[2]:
  count -= 1
if l[2] == l[0]:
  count -= 1
  
print(int(count/2))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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
        else:
            number=3
    print(number)


if __name__ == "__main__":
    main()


Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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()

Problem: p03962
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def iroha():
    a, b, c = map(int, input().split())
    if a == b == c:
        print(1)
    elif a != b != c:
        print(3)
    elif a == b or b == c or a == c:
        print(2)

if __name__ == "__main__":
    iroha()


Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
def iroha():
    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)

if __name__ == "__main__":
    iroha()
Problem: p03962
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a = map(int, input().split())
print(set(a))

Failing test case input:
2 9 5

Expected output:
3


Actual output:
{9, 2, 5}


Fixed submission (verdict: Accepted):
a = map(int, input().split())
print(len(set(a)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
c = [map(int,input().split())]
print(len(set(c)))

Failing test case input:
7 33 -1

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
c = list(map(int,input().split()))
print(len(set(c)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input()
A=a.split()
ans=3
if A[0]==A[1]:
  ans-=1
if A[1]==A[2]:
  ans-=1
  print(ans)
else:
  print(ans)


Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a=input()
A=a.split()
ans=3
if A[0]==A[1] or A[1]==A[2] or A[0]==A[2]:
  ans-=1
if A[0]==A[1]==A[2]:
  ans-=1
print(ans)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input().split()




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


Failing test case input:
6 19 4

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c=map(int,input().split())

l=sum([a==b,b==c,c==a])
print([1,2,0,3][l])


Failing test case input:
3 10 0

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
 
l=sum([a==b,b==c,c==a])
print([3,2,0,1][l])

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = list(input())

print(len(set(x)))

Failing test case input:
11 20 -1

Expected output:
3


Actual output:
5


Fixed submission (verdict: Accepted):
abc = list(input().split())

print(len(set(abc)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

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

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c=map(int, input().split())
if a==b and a==c:
    print(1)
elif a!=b and b!=c:
    print(3)
else:
    print(2)

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
a,b,c=map(int, input().split())
if a==b and a==c:
    print(1)
elif a!=b and b!=c and c!=a:
    print(3)
else:
    print(2)
Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
count = 1
if a != b:
    count += 1
if b != c:
    count += 1
if c != a:
    count += 1
print(count)


Failing test case input:
-2 3 0

Expected output:
3


Actual output:
4


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
count = 1
if a != b:
    count += 1
if b != c and c != a:
    count += 1
print(count)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a == b:
  if a == c:
    print(3)
  else:
    print(2)
elif a == c:
  if a == b:
    print(3)
  else:
    print(2)
elif b == c:
  if a == b:
    print(3)
  else:
    print(2)
else:
  print(1)

Failing test case input:
3 17 -1

Expected output:
3


Actual output:
1


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
nums = list(input().split())

print(set(nums))

Failing test case input:
6 12 -1

Expected output:
3


Actual output:
{'-1', '6', '12'}


Fixed submission (verdict: Accepted):
nums = list(input().split())

print(len(set(nums)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a == b == c :
    print (1)
elif a == b or b == c :
    print (2)
else :
    print (3)

Failing test case input:
4 16 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
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)

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x=list(map(int,input().split()))

print(len(x))

Failing test case input:
3 3 33

Expected output:
2

Actual output:
3


Fixed submission (verdict: Accepted):
x=list(map(int,input().split()))

print(len(set(x)))

Problem: p03962
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
print(len(set(input()))-1)

Failing test case input:
2 19 4

Expected output:
3


Actual output:
4


Fixed submission (verdict: Accepted):
print(len(set(input().split())))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
abc = [int(i) for i in input().split()]
print(len(abc))

Failing test case input:
53 2 2

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
abc = [int(i) for i in input().split()]
print(len(set(abc)))

Problem: p03962
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

n=[int(i) for i in input().split()]
count=3
for i in range(2):
  if(n[i]==n[i+1]):
    count-=1
print(count)

Failing test case input:
4 12 4

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):

n=[int(i) for i in input().split()]
count=3
n.sort()
for i in range(2):
  if(n[i]==n[i+1]):
    count-=1
print(count)