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:
a, b, c = map(int, input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

count = 0
for i in range(len(data)):
  for j in range(i+1, len(data)):
    if (data[i] == data[j]):
      count += 1
    else:
      continue
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

kinds = set(colors)
print(kinds)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if b!=c:
  count+=1

if a!=c:
  count+=1

if count==1:
  print(1)
  
else:
  print(count)

Submission status: Wrong Answer

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

if b!=c:
  count+=1

if a!=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 b!=c:
  count+=1

if a!=c:
  count+=1
  
print(count)

Submission status: Wrong Answer

Solution code:
s = list(map(int, input().split()))
if(max(s) == (sum(s)//2)):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
color=input()
iro=color.split(" ")

i=len(iro)

print(str(i))

Submission status: Wrong Answer

Solution code:
color=input()
iro=color.split(" ")
i=0

if int(iro[0])==int(iro[1]):
    i=i+0
else:
    i=i+1

if int(iro[0])==int(iro[2]):
    i=i+0
else:
    i=i+1
  
if int(iro[1])==int(iro[2]):
    i=i+0
else:
    i=i+1
    
print(str(i))

Submission status: Wrong Answer

Solution code:
color=input()
iro=color.split(" ")
i=0

if int(iro[0])==int(iro[1]):
    i=i+0
else:
    i=i+1

if int(iro[0])==int(iro[2]):
    i=i+0
else:
    i=i+1
  
if int(iro[1])==int(iro[2]):
    i=i+0
else:
    i=i+1
    
print(str(i))
    
print(str(i))

Submission status: Wrong Answer

Solution code:
s = input()
s = set(s)
print(len(s))

Submission status: Wrong Answer

Solution code:
A = input()
print(len(set(A)))

Submission status: Wrong Answer

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


if a[0] == a[1] and a[0] == a[2]:
   result = 2

elif a[0] == a[1] and a[0] != a[2]:
    result = 2
elif a[0] == a[2] and a[2] != a[1]:
    result = 2
elif a[1] == a[2] and a[2] != a[0]:
    result = 2
else:
    result = 3

print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
a,b,c = map(int, input().split())
cnt = 0
if a != b:
  cnt += 1
if a != c:
  cnt += 1
if b != c:
  cnt += 1
print(int(cnt))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
if (a==b and b==c and a==c):
  print(4)
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)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
penki = [i for i in map(int, input().split())]
count = 3
if penki[0] == penki[1]:
    count -= 1
if penki[0] == penki[2]:
    count -= 1
if penki[1] == penki[2]:
    count -= 1
print(count)

Submission status: Wrong Answer

Solution code:
x, y, z = map(int, input().split())
count = 1
if x != y:
    count += 1
if x != z:
    count += 1
print(count)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

Solution code:
x = list(input())

print(len(set(x)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
list=[ x for x in input() ]
a=list[0]
b=list[1]
c=list[2]
if a!=b and a!=c and b!=c:
	print("3")
elif a==b and a!=c and b==c:
	print("2")
elif a!=b and a==c and b!=c:
	print("2")
elif a==b and a==c and b==c:
	print("1")
elif  a!=b and a!=c and b==c:
	print("2")
elif a==b and a==c and b!=c:
	print("2")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
counter = 0

if a[0] != a[1]:
    counter += 1

if a[1] != a[2]:
    counter += 1

if a[0] != a[2]:
    counter += 1

print(counter)

Submission status: Wrong Answer

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

A=set(list)

print(A)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
if __name__ == "__main__":
  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 = map(int, input().split())

result = 3

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

input = sys.stdin.readline


def main():
    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)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = input().split()
 
score = 1
if a != b:
	score = score + 1
elif b !=c:
	score = score + 1
elif c !=a:
	score = score + 1
else:
	score = score
print(score)

Submission status: Wrong Answer

Solution code:
a,b,c = input().split()
 
score = 1
if a != b:
	score = score + 1
elif b !=c:
	score = score + 1
else:
	score = score
print(score)

Submission status: Wrong Answer

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

score = 1
if a != b:
	score = score + 1
elif a !=c:
	score = score + 1
else:
	score = score
print(score)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def solve():
    n = [int(i) for i in input().split()][:3]
    print(n)

    c1 = n.count(n[0])
    c2 = n.count(n[1])
    c3 = n.count(n[2])
    print(c1, c2, c3)

    if(c1 == 3):
        print(1)
    elif(c1 == c2 == c3 == 1):
        print(3)
    else:
        print(2)


if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

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)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b, c = list(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 = list(map(str, 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 = list(map(str, input().split()))
L = a + b + c
L1 = list(set(L))
print(len(L1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
p=3
if A==B:
  p=p-1
if A==C:
  p=p-1
print(p)

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

elif B==C and B!=A :
  print(2)

elif A==C and A!=B :
  print(2)

else :
  print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = str(input())

g_count = 0
p_count = 0
point = 0
for i in range(len(s)):
    # 必ずグーを出す状態
    if g_count == p_count:
        g_count += 1
        if s[i] == 'g':
            pass
        else:
            point -= 1
    # パーも出せる状態
    elif s[i] == 'g':
        p_count += 1
        point += 1
    elif s[i] == 'p':
        p_count += 1

ans = point
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l=list()
a=list(map(int,input().split()))
c=0
for x in a:
    if x not in l:
        c+=1
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
# print(a, b, c)
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)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=input().split()
#a=int(input())
#b=int(input())
#c=int(input())
#d=int(input())
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)

Submission status: Wrong Answer

Solution code:
a=input().split()
#a=int(input())
#b=int(input())
#c=int(input())
#d=int(input())
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)

Submission status: Wrong Answer

Solution code:
a=input().split()
#a=int(input())
#b=int(input())
#c=int(input())
#d=int(input())
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()
#a=int(input())
#b=int(input())
#c=int(input())
#d=int(input())
if a[0]==a[1]==a[2]:
    print(3)
elif a[0]!=a[1]!=a[2]:
    print(1)
else:
    print(2)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
candy_bag = list(map(int, input().split()))
max_bag_num = max(candy_bag)
bag = 0
small_bag_sum = 0
for bag in candy_bag:
	if bag == max_bag_num:
		continue
	else:
		small_bag_sum += bag

if max_bag_num == small_bag_sum:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
a = map(int,input().split())
dic ={}
ans = 0
for p in a:
  if p not in dic:
    continue
  dic[p]=1
  ans+=1
  
print(ans)

Submission status: Wrong Answer

Solution code:
a = map(int,input().split())
dic ={}
ans = 0
for p in a:
  if p not in dic:
    continue
  dic[a]=1
  ans+=1
  
print(ans)

Submission status: Wrong Answer

Solution code:
a = map(int,input().split())
dic ={}
ans = 0
for p in a:
  if p in dic:
    continue
  dic[a]=1
  ans+=1
  
print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
mylist = input().split()
print(len(mylist))

Submission status: Wrong Answer

Solution code:
N,M,K = map(int,input().split())
sum = 3
if N == M or M == K or N == K:
  sum = 2
elif N == M and M == K:
  sum = 1
print(sum)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
if a==b and b==c: #aaa
  print(3)
elif a==b and b!=c: #aab
  print(2)
elif a!=b and a==c: #aba
  print(2)
elif a!=b and b==c: #abb
  print(2)
else:
  print(3)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
if a==b and b==c: #aaa
  print(3)
elif a==b and b!=c: #aac
  print(2)
elif a!=b and a==c:#aba
  print(2)
elif a!=b and b==c:#abb
  print(2)
else:
  print(3)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
l = list(input().split())

print(set(l))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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
print(ans)

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
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:
a,b,c = map(int,input().split())
count = 3
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 = 3
if a == b :
    ans-=1
if a == c :
    ans-=1
if c == b :
    ans-=1
print(ans)

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

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

else:
    print(3)

Submission status: Wrong Answer

Solution code:
a = [int(_) for _ in input().split()]
if all(1 <= i <= 100 for i in a):
    a.sort();print(1 if a[0] == a[1] == a[2] else 2 if a[0] == a[1] else 3)
else:
    print('hoge!')

Submission status: Wrong Answer

Solution code:
# A - AtCoDeerくんとペンキ / AtCoDeer and Paint Cans

A = list(map(str, input().split()))
count = 0
for i in range(len(A)-1):
    if A[i] != A[i+1]:
        count += 1
    else:
        pass
if A[0] != A[2]:
    count += 1
else:
    pass
print(count)

Submission status: Wrong Answer

Solution code:
List = [int(i) for i in input().split()]
ans=0
if List[0]==List[1]:
  if List[1]==List[2]:
    print(1)
  else:
    print(2)
else:
  if List[1]==List[2]:
    print(2)
  else:
    print(3)

Submission status: Wrong Answer

Solution code:
c = [map(int,input().split())]
print(len(set(c)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=input()
print(len(set(n)))