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.



Sample input:
3 1 4


Sample output:
3

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import collections

a = input()
c = collections.Counter(list(a))

print(len(c))

Submission status: Wrong Answer

Solution code:
A = [int(i) for i in input().split()]

set(A)
list(A)
print(len(A))

Submission status: Wrong Answer

Solution code:
abc = [int(i) for i in input().split()]
print(len(abc))

Submission status: Wrong Answer

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

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

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

else:
    print(3)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(len(set(list(input()))))

Submission status: Wrong Answer

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

cnt = 0

if a != b:
    cnt = cnt + 1
if a != c: 
    cnt = cnt + 1
if b != c:
    cnt = cnt + 1

print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C = map(int, input().split())
if A == B == C:
  print(1)
elif A == B != C or A != B == C or A != C == B:
  print(2)
else:
  print(3)

Submission status: Wrong Answer

Solution code:
A, B, C = map(int, input().split())
if A == B == C:
  print(1)
elif A == B != C or A != B == C:
  print(2)
else:
  print(3)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, raw_input().split())

cnt = 1

if a <> b:
    cnt += 1

if b <> c:
    cnt += 1

if c == a:
    cnt -= 1

print cnt

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, raw_input().split())

cnt = 0

if a <> b:
    cnt += 1

if b <> c:
    cnt += 1

if c <> a:
    cnt += 1

print cnt

Submission status: Wrong Answer

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

cnt = 0

if a == b:
    cnt += 1

elif b == c:
    cnt += 1

elif c == a:
    cnt += 1

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=list(map(int,input().split()))

print(len(x))

Submission status: Wrong Answer

Solution code:
iro = list(map(int, input().split()))
shu = 1
iro.sort()
for i in range(1, len(iro)):
  if iro[i - 1] != iro[i]:
    shu += 1
print(iro)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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(3)

else:
    print(2)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
li = [a,b,c]
li.sort()
if ((li[0]!=li[1] and li[1]==[2]) or (li[0]==li[1] and li[1]!=[2])) and li[0]!=li[2]:
    print(2)
elif li[0]==li[1] and li[1]==li[2] and li[0]==li[2]:
    print(1)
else:
    print(3)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
li = [a,b,c]
li.sort()
if li[0]==li[1] or li[1]==[2] and li[0]!=li[2]:
    print(2)
elif li[0]==li[1] and li[1]==li[2] and li[0]==li[2]:
    print(1)
else:
    print(3)

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))
b = 1
for i in range(1, 3):
    if a[i] != a[i-1]:
        b += 1
print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
nums = list(input().split())

print(set(nums))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
ans=1
if a==b:
	ans+=1
if b==c:
	ans+=1
if a==c:
	ans+=1
if ans==4:
	ans=3
print(ans)

Submission status: Wrong Answer

Solution code:
a, b, c = list(map(int, input().split()))
l = [a != b, b != c, c != a].count(True)
print(l)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
S = 3
if a == b:
  S = S-1
if b == c:
  S = S-1
print(S)

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
a, b, c = raw_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"
else:
    print "3"

Submission status: Wrong Answer

Solution code:
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):
    print(2)
else:
    print(3)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=input().split()
if a.count(a[0])>0:
    answer=4-a.count(a[0])
else:
    answer=4-a.count(a[1])
print(answer)

Submission status: Wrong Answer

Solution code:
l = list(map(int, input().split()))
s = 3
for i in range(3):
    for j in range(i + 1, 3):
        if l[i] == l[j]:
            s = s - 1
print(s)

Submission status: Wrong Answer

Solution code:
l=tuple(map(int,input().split()))
print(len(l))

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())
print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
d = 0
if a == b:
    d += 1

if a == c:
    d += 1

if b == c:
    d += 1

print(3 - d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

count=0

if a!=b:
	count+=1

if a!=c:
	count+=1

if b!=c:
	count+=1

print(count)

Submission status: Wrong Answer

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

count=0

if a!=b:
	count+=1

if a!=c:
	count+=1

if b!=c:
	count+=1

print(count)

Submission status: Wrong Answer

Solution code:
S = input().split()
print(set(S))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
num = 3
if a==b:
  num -= 1
if a==c:
  num -= 1
if b==c:
  num -= 1

Submission status: Wrong Answer

Solution code:
a=list(map(int, input().split()))
b=3
if a[0]==a[1]:
  b=b-1
elif a[1]==a[2]:
  b=b-1
elif a[0]==a[2]:
  b=b-1
elif b==0:
  b=1
print(b)

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C = map(int, input().split())
if A + B == C:
    print('Yes')
elif A + C == B:
    print('Yes')
elif B + C == A:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
ans=3
for i in range(0,2):
  for j in range(i+1,3):
    if a[i]==a[j]:
      ans -= 1
    else:
      j += 1

print(ans)

Submission status: Wrong Answer

Solution code:
import collections
from functools import reduce

def main():
    # 初期値用:十分大きい数(100億)
    # 1e10

    # 初期値用:十分小さい数(-100億)
    # -1e10

    # 1文字のみを読み込み
    # s = input().rstrip()
    
    # スペース区切りで標準入力を配列として読み込み
    # s = input().rstrip().split(' ')

    # 1文字ずつ標準入力を文字列として読み込み
    # s = list(input().rstrip())
    
    # 位置文字ずつ標準入力を数値配列として読み込み
    # X = [int(_) for _ in input().split()]
    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)


    # c = collections.Counter(X)
    # print(c.most_common()[0][1])
        
   
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import collections
from functools import reduce

def main():
    # 初期値用:十分大きい数(100億)
    # 1e10

    # 初期値用:十分小さい数(-100億)
    # -1e10

    # 1文字のみを読み込み
    # s = input().rstrip()
    
    # スペース区切りで標準入力を配列として読み込み
    # s = input().rstrip().split(' ')

    # 1文字ずつ標準入力を文字列として読み込み
    # s = list(input().rstrip())
    
    # 位置文字ずつ標準入力を数値配列として読み込み
    # X = [int(_) for _ in input().split()]
    X = [int(_) for _ in input().split()]
    c = collections.Counter(X)
    print(c.most_common()[0][1])
        
   
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
list=[]
a,b,c=map(int,input().split())
list.append(a)
list.append(b)
list.append(c)
print(len(list))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
li = [int(x) for x in input().split()]
li.sort()
ans = 1
ans += 1 if li[1]==li[0] else 0
ans += 1 if li[2]==li[1] else 0
print(ans)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import copy
S=list(input())
N=len(S)
point=0
hand=copy.deepcopy(S)
panum=sum([j=="p" for j in hand])
pamax=N//2#ポイントの上限
for i in range(N):
    if S[i]=="g":
        pa=sum([hand[j]=="p" for j in range(i+1)])#今まで出したパーの数
        if pa<(i+1)//2 and point<pamax-panum:
            hand[i]="p"
            point+=1
    if point>=pamax-panum:
        break
print(point)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import copy
S=list(input())
N=len(S)
point=0
hand=copy.deepcopy(S)
panum=sum([j=="p" for j in hand])
pamax=N//2#ポイントの上限
for i in range(N):
    pa=sum([hand[j]=="p" for j in range(i+1)])#今まで出したパーの数
    if pa<(i+1)//2 and point<pamax-panum:
        hand[i]="p"
        point+=1
print(point)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
lst = input().split()
print(set(lst))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A=list(map(int,input().split()))
res=0
for i in range(99):
  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)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
li = list(map(int, input().split()))
count = 0

for i in range(len(li)):
  for j in range(i,len(li)):
    if li[i] != li[j]:
      count += 1
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
data=input().split()
sum = 0
for i in range(3):
  a = data[0]
  b = data[1]
  c = data[2]
for i in range(3):
  for j in range(i+1,3):
  	if data[i] != data[j]:
  		sum += 1
print(sum)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = list(input())
a = list(set(a))
print(len(a))

Submission status: Wrong Answer

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

else:
    print("3")

Submission status: Wrong Answer

Solution code:

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

if a==b:
    ans-=1
if b==c:
    ans-=1
if c==a:
    ans-=1

print(ans)

Submission status: Wrong Answer

Solution code:
a, b, c = [int(i) for i in input().split()]
count = 1
if a == b:
    pass
else:
    count += 1

if a == c:
    pass
else:
    count += 1

if b == c:
    count -= 1
else:
    pass
    
print(count)

Submission status: Wrong Answer

Solution code:
a, b, c = [int(i) for i in input().split()]
count = 1
if a == b:
    pass
else:
    count += 1

if a == c:
    pass
else:
    count += 1

if b == c:
    pass
else:
    count += 1
    
print(count)

Submission status: Wrong Answer

Solution code:
a, b, c = [int(i) for i in input().split()]
count = 1
if a == b:
    pass
else:
    count += 1

if a == c:
    pass
else:
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:
print(len(set(input())) - 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())
if(a+b==c)or(b+c==a)or(a+c==b):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
a,b,c = map(int,input().split())
S = set("abc")
T = len(S)
print(T)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
a,b,c = map(int,input().split())
S = set("abc")
print(len(S))

Submission status: Wrong Answer

Solution code:
# input
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)

Submission status: Wrong Answer

Solution code:
inp = list(map(int, input().split()))

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

print(res.__len__())

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
cou = 0
if a != b:
    cou += 1
if a != c:
    cou += 1
if b != c:
    cou += 1
print(cou)

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

Solution code:
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()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#! /usr/bin/python3
# AtCoDeerくんとペンキ / AtCoDeer and Paint Cans

"""
1≦a,b,c≦100
"""

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

if a == b:
    variety -= 1
if a == c:
    variety -= 1
print(variety)

Submission status: Wrong Answer

Solution code:
x,y,z=map(int,input().split())
if x==y==z:
    print(1)
elif x!=y!=z:
    print(3)
else:
    print(2)

Submission status: Wrong Answer

Solution code:
print(len(list(sorted(list(map(int, input().split()))))))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

def main():
    a , b , c = map(str,(input().split(' ')))
    result = 3
    if a == b:
        result = result - 1
    elif a == c:
        result = result -1
    elif b == c:
        result = result - 1

    if result == 0:
        print("1")
    else:
        print(result)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
bought,bought_1,bought_2 = map(int,input().split())
lis = sorted([bought,bought_1,bought_2])
if lis[0] == lis[1] and lis[0] == lis[2]:
    print(1)
elif lis[0] == lis[1]:
    print(2)
else:
    print(3)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
print((a!=b)+(b!=c)+(c!=a))

Submission status: Wrong Answer

Solution code:
#coding:utf-8
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)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a==b + b==c:
    res = 1
elif a==b:
    res = 2
elif a==c:
    res = 2
elif b==c:
    res = 2
else:
    res = 3

print(int(res))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
lst=list(map(int,input().split()))
if lst[0]==lst[1]==lst[2]:
    print(1)
elif lst[0]==lst[1] or lst[1]==lst[2]:
    print(2)
else:
    print(3)

Submission status: Wrong Answer

Solution code:
a=list(map(int, input().split()))
if a[0]==a[1]:
  print(1)
elif a[0]!=a[1] and a[1]!=a[2] and a[2]!=a[0]:
  print(3)
else:
  print(2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
k = 1
if l[0]==l[1]:
    k+=1
elif l[1]==l[2]:
    k+=1
elif l[2]==l[0]:
    k+=1
print('{}'.format(k))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(sum)

Submission status: Wrong Answer

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

if (a[0] == a[1]):
  if (a[1] == a[2]):
    sum = 2
  else:
    sum = 1
elif (a[0] == a[2]):
  sum = 1
else:
  sum = 0

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
paint = raw_input().split()
ans = 3
if paint[0] == paint[1]:
	if paint[1] == paint[2]: ans = 1
	else: ans = 2
elif paint[1] == paint[2]: ans = 2

print ans

Submission status: Wrong Answer

Solution code:
paint = raw_input().split()
ans = 3
for i in range(0, 2):
	for j in range(i+1, 3):
		if paint[i] == paint[j]:
			ans = ans - 1
			if ans == 1: break
print ans

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
ans = 0
if not a==b:
    ans += 1
if not b==c:
    ans += 1
if not a==c:
    ans += 1
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
x,y,z = map(int, input().split())

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

Submission status: Wrong Answer

Solution code:
l = sorted(map(int, input().split()))
if l[0] == l[1] == l[2]:
    print('1')
elif l[0] == l[1]:
    print('2')
else:
    print('3')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(len(set([i for i in input()])))

Submission status: Wrong Answer

Solution code:
# coding: utf-8

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

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = map(int,raw_input().strip().split())
ans = 3
if l[0] == l[1]:
	ans -= 1
if l[0] == l[2]:
	ans -= 1
if l[1] == l[2]:
	ans -= 1
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def solve():
    a, b, c = map(int, input().split())
    if a == b == c:
        ans = "1"
    elif a != b == c:
        ans = "2"
    elif a == b != c:
        ans = "2"
    else:
        ans = "3"
    print(ans)

if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
a,b,c = [int(x) for x in raw_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

Submission status: Wrong Answer

Solution code:
# coding: UTF8

#input = "30 30 30"
#l = map(int, input.split())
l = list(map(int, input().split()))
l.sort()
a = l[0]
b = l[1]
c = l[2]

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

Submission status: Wrong Answer

Solution code:
s =set(input().split())
len(s)

Submission status: Wrong Answer

Solution code:
ho=input().split()
if(int(ho[0]) == int(ho[1]) == int(ho[2])):
    print(1)
elif (int(ho[0]) == int(ho[1]) or int(ho[1]) == int(ho[2]) or int(ho[2]) == int(ho[0])):
    print(2)
else:
    print(1)

Submission status: Wrong Answer

Solution code:
a = map(int,raw_input().split(" "))
b = a[0]
c = a[1]
d = a[2]
cnt = 3
if b == c:
    cnt = cnt -1
if b == d:
    cnt = cnt -1
if c == d:
    cnt = cnt -1
if b == c and c ==d:
    cnt = cnt -1
print cnt

Submission status: Wrong Answer

Solution code:
a = map(int,raw_input().split(" "))
b = a[0]
c = a[1]
d = a[2]
cnt = 3
if b == c:
    cnt = cnt -1
if b == d:
    cnt = cnt -1
if c == d:
    cnt = cnt -1
print cnt

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

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

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

print a, b, c

Submission status: Wrong Answer

Solution code:
print(1)

Submission status: Wrong Answer

Solution code:
penki = input().split(" ")
if penki[0] == penki[1]:
    print("2")
    if penki[1] == penki[2]:
        print("1")
else:
    print("3")

Submission status: Wrong Answer

Solution code:
# coding: utf-8

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)

Submission status: Wrong Answer

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

# A.sort()
#
# # for i in range(len(A)):
# #     for j in range(len(A)):
# #         for k in range(len(A)):
# cnt = 0
# if A[0] != A[1] and A[0] != A[2]:
#     cnt += 1
# if A[0] !=

# a,b,c = map(int,input().split())
#
# if a!=b and a!=c and b!=c:
#     print(3)
# if
cnt = 1
for i in range(len(A)- 1):
    if A[i] != A[i+1]:
        cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
import sys

def input_num():
    num = input().split()
    return num

def num_serch(num):
    penki_num = len(num)
    if num[0] == num[1]:
        penki_num = penki_num - 1
    if num[0] == num[2]:
        penki_num = penki_num - 1
    if num[1] == num[2]:
        penki_num = penki_num - 1

    print(penki_num)

if __name__ == '__main__':
    num = input_num()
    num_serch(num)

Submission status: Wrong Answer

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

print(sum)

Submission status: Wrong Answer

Solution code:
sum = 0
input = list(map(int,input().split()))
if input[0] != input[1]:
    sum +=1
if input[0] != input[2]:
    sum +=1 
if input[1] != input[2]:
    sum +=1 

print(sum)

Submission status: Wrong Answer

Solution code:
moveList = raw_input()

rockCounter = 0
score = 0

for i in moveList:
    if i == 'g' and rockCounter > 0:
        score += 1
        rockCounter -= 1
    elif i == 'g':
        rockCounter += 1
    elif i == 'p' and rockCounter > 0:
        rockCounter -= 1
    else:
        rockCounter += 1
        score -= 1
        
print(score)