TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A, B, C = map(int, input().split())

if int(A) == int(B) == int(C):
  print("Yes")
else:
  print("No")


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

if a==b or a==c or b==c:
  print("No")
else:
  print("Yes")

A, B, C = map(input().split())

if int(A) == int(B) == int(C):
  print("Yes")
else:
  print("No")

a = input().split()
if(len(set(a))==2):
   print("Yes")
else:
   print("No")

Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
from collections import Counter


def words_sort_ordered(words_list):
    word_cnt = Counter()
    for word in words_list:
        word_cnt[word] += 1

    word_written_max_time = 0
    for each_word_ct in word_cnt.values():
        if each_word_ct > word_written_max_time:
            word_written_max_time = each_word_ct

    answer_words_list = []
    for word, number in dict(word_cnt).items():
        if number == word_written_max_time:
            answer_words_list.append(word)

    return sorted(answer_words_list)


if __name__ == '__main__':
    words_num = int(input())
    words_list = [input() for i in range(words_num)]
    for w in words_sort_ordered(words_list):
        print(w)


def is_kawaisou(a, b, c):
    if a == b and a == c:
        return 'No'
    if a == b or b == c or a == c:
        return 'Yes'
    else:
        return 'No'


if __name__ == '__main__':
    a, b, c = map(int, input().split())
    print(is_kawaisou(a, b, c))


Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A, B, C = map(int, input().split())
if (A == B == C) or (A != B != C):
    print("No")
else:
    print("Yes")


A, B, C = map(int, input().split())
if (A == B == C) or ((A != B) and (A != C) and (B != C)) :
    print("No")
else:
    print("Yes")


Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
d=input()
a=list(map(int,input().split()))
rt=0
for i in a:
  if i % 2 == 1:
    pass
  else:
    if i%3==0 or i%5==0:
      rt=1
    else:
      rt=0
      print("DENIED")
      break
if rt==1:
  print("APPROVED")

d=input()
a=list(map(int,input().split()))
rt=0
print(a)
for i in a:
  if i % 2 == 1:
    pass
  else:
    if i%3==0 or i%5==0:
      rt=1
    else:
      rt=0
      print("DENIED")
      break
if rt==1:
  print("APPROVED")

a=list(map(int,input().split()))
if a[0]==a[1] & a[0]==[2]:
  print("Yes")
else:
  print("No")

a=list(map(int,input().split()))
if(a[0]==a[1]==a[2]):
  print("No")
else:
  if (a[0]==a[1])|(a[1]==a[2])|(a[2]==a[0]):
    print("Yes")
  else:
    print("No")

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
# -*- coding: utf-8 -*-
a,b,c = list(map(int,input().split()))
ret = "No"
if len(set(a,b,c))==2:
    ret = "Yes"
print(ret)


# -*- coding: utf-8 -*-
a,b,c = list(map(int,input().split()))
ret = "No"
if len(set([a,b,c]))==2:
    ret = "Yes"
print(ret)

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b, c = map(int, input().split())

if a==b or a==c or b==c: print('YES')
else: print('NO')

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

if a==b==c: print('No')
elif a==b or a==c or b==c: print('Yes')
else: print('No')

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c=map(int.input().split())
if a==b:
  if a==c:
    print("No")
  else:
    print("Yes")
elif a==c:
  print("Yes")
elif b==c:
  prunt("Yes")
else:
  print("No")

a,b,c=map(int,input().split())
if a==b:
  if a==c:
    print("No")
  else:
    print("Yes")
elif a==c:
  print("Yes")
elif b==c:
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
list = list(map(int, input().split()))
set = set(list)

if len(set) == 2:
    print("YES")
else:
    print("NO")


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

if len(set) == 2:
    print("Yes")
else:
    print("No")


Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c = map(int, input().split())

if a==b and a!=c:
  print('Yes')
elif b==c and b!=a:
  print('Yes')
else:
  print('No')

a,b,c = map(int, input().split())
if a==b and a!=c:
  print('Yes')
elif b==c and b!=a:
  print('Yes')
elif a==c and a!=b:
  print('Yes')
else:
  print('No')

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
n = list(map(int, input().split()))
s=0
for i, x in enumerate(n):
    if x in n[i+1:]: s+=1
print("%s" % "YES" if s==1 else "NO")

n = list(map(int, input().split()))
s=0
for i, x in enumerate(n):
    if x in n[i+1:]: s+=1
print("%s" % "Yes" if s==1 else "No")


Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A,B,C=map(int,input().split())
if (A=B=C):
  print(No)
  else:
    if (A=B):
      print (Yes)
    if (A=C):
      print (Yes)
    if (B=C):
      print (Yes)
    else:
      print (No)

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

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c=map(int,input().split())
if a==b and b==c:
	print("No")
elif a!=b and b!=c:
	print("No")
else:
	print("Yes")

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

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
N = int(input())
lis = [input() for i in range(N)]

 
tmp_dic = {}
for s in lis:
    if s not in tmp_dic:
        tmp_dic[s] = 1
    else:
        tmp_dic[s] += 1
        
max_count = 0
for k,v in tmp_dic.items():
    max_count = max(v,max_count)
    
ans_lis = []
for k,v in tmp_dic.items():
    if v == max_count:
        ans_lis.append(k)
        
ans_lis.sort()
[print(f"{s}") for s in ans_lis]

lis = list(map(int, input().split(" ")))

tmp_dic = {}
for n in lis:
    if n not in tmp_dic:
        tmp_dic[n] = 1
    else:
        tmp_dic[n] += 1
        
if len(tmp_dic) == 2:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c=map(int, input.split())
count = 0
if a==b:
  count = count + 1
if b==c:
  count = count + 1
if c==a:
  count = count + 1
if count == 1:
  print("Yes")
else:
  print("No")

a,b,c = map(int, input().split())
count = 0
if a==b:
  count = count + 1
if b==c:
  count = count + 1
if c==a:
  count = count + 1
if count == 1:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
from sys import stdin 
input = stdin.readline
A,B,C=map(int,input().split())
if A != B:
  if  B==C:
      print("Yes")
  else:
    print("No")
elif B != C:
  if A==B:
    print("Yes")
  else:
    print("No")
elif C != A:
  if A==B:
    print("Yes")
  else:
    print("No")
else:
  print("No")

A=set(map(int,input().split()))
if len(A)==2:
  print("Yes")
else:
  print ("No")

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
print('YNeos'[len(set(input()))^1::2])

print(len({*input()})%2*'Yes'or'No')

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
    lst = map(int, input().split())
    print('Yes' if len(set(lst)) >= 2 else 'No')

lst = map(int, input().split())
print('Yes' if set(len(lst)) >= 2 else 'No')

lst = list(map(int, input().split()))
print('Yes' if len(set(lst)) == 2 else 'No')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A = int(input())
B = int(input())
C = int(input())

if (A==B==C or  A!=C and B !=C):
  print("No")

else:
  print("Yes")


A = input ()
B = input ()
C = input ()

if (A==B and A!=C or B==C and B!=A or A==C and A!=B ):
  print("Yes")
  
else:
  print("No")

A,B,C = map(int, input().split())

if (A==B==C or  A!=C and A!=B and B!=C):
  print("No")

else:
  print("Yes")


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c=(int(x) for x in input().split())
if a==b==c or a!=b!=c:
    print("No")
else:
    print("Yes")

a,b,c=(int(x) for x in input().split())
if a==b==c or a!=b!=c!=a:
    print("No")
else:
    print("Yes")

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b, c = map(int, input().split())
print(len(set([a, b, c])) > 2)


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

a, b, c = map(int, input().split())
print('Yes' if len(set([a, b, c])) == 2 else 'No')


Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
def solve():
    A, B, C = list(input().split())
    if A == B == C:
        print("No")
        exit()
    if A != B != C:
        print("No")
    else:
        print("Yes")


if __name__ == '__main__':
    solve()


def solve():
    A, B, C = list(input().split())
    if A == B == C:
        print("Yes")
        exit()
    else:
        print("No")


if __name__ == '__main__':
    solve()


def solve():
    a, b, c= list(input().split())
    if a == b == c:
        print("No")
    elif a == b or a == c or b == c:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    solve()


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
LIST = sorted(input().split(),reverse=True)

flag = 0
if LIST[0] == LIST[1]:
    flag += 1
if LIST[1] == LIST[2]:
    flag += 1
if LIST[0] == LIST[2]:
    flag = 0

if flag == 1:
    print("YES")
else:
    print("NO")

LIST = sorted(input().split(),reverse=True)

flag = 0
if LIST[0] == LIST[1]:
    flag += 1
if LIST[1] == LIST[2]:
    flag += 1

if flag == 1:
    print("YES")
else:
    print("NO")

LIST = sorted(input().split(),reverse=True)

flag = 0
if LIST[0] == LIST[1]:
    flag += 1
if LIST[1] == LIST[2]:
    flag += 1

if flag == 1:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A,B,C=map(int,input().split())

if A==B and B==C and A!=C:
  print('Yes')
elif B==C and C==A and B!=A:
  print('Yes')
elif C==A and A==B and C!=B:
  print('Yes')
else:
  print('No')

A=[0]*3
A[0],A[1],A[2]=map(int,input().split())
A.sort()

if (A[0]==A[1] and A[1] != A[2]) or (A[0]!=A[1] and A[1] == A[2]):
  print('Yes')
else:
  print('No')


Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
N = int(input())
A = list(map(int, input().split()))

ans = all(a%3==0 or a%5==0 for a in A if a%2==0)
if ans:
    print("APPROVED")
else:
    print("DENIED")


N = int(input())
n = list(map(int, input().split()))

ans = False
for a in n:
    if a % 2 == 0:
        if a % 3 == 0 or a % 5 == 0:
            ans = True
if ans:
    print("APPROVED")
else:
    print("DENIED")


A, B, C = map(int, input().split())
if A == B and A == C:
    print("No")
elif A == B or A == C or B == C:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b, c  = map(int,input().split())
if ( a == b != c | a != b == c | a == c != b):
    print('Yes')
else:
    print('No')


a, b, c  = map(int,input().split())
if ( a == b != c | a != b == c | a == c != b):
    print('yes')
else:
    print('no')


a, b, c  = map(int,input().split())
if ( a == b != c or a != b == c or a == c != b):
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b, c = list(map(int, input().split()))

if a==b==c or a!=b!=c:
    print("No")
else:
    print("Yes")

a = list(map(int, input().split()))
cnt = len(set(a))
print("Yes") if cnt == 2 else print("No")


Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
N=int(input())

l=[]
num2=1
num3=1
l = list(map(int,input().rstrip().split()))
for i in range(N):
  
  if l[i] % 2 == 0:
    if l[i] % 3 == 0 and l[i] % 5 == 0:
      num2=0
    else:
      num3=0


  


        
if num2==0:
  if num3==0:
    print("DENIED")
  else:
    print("APPROVED")
else:
  print("DENIED")

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

if a==b or a==c or b==c:
  if a==b and a==c:
    print("No")
  else:
    print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
n_list = set(input().split())

if len(n_list)= 2:
  print("Yes")
else:
  print("No")

n_list = set(input().split())

if len(n_list)== 2:
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c =map(int,input().split())   
if  a==b==c or a!=b!=c :
    print('No')
elif a==b or a==c or b==c:
    print('Yes') 

x=set( map(int,input().split()) )
if len(x)==2: 
    print('Yes')
else : 
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A = list(map(int, input().split()))
B = set(map(int, input().split()))
if len(B) == 2:
  print('Yes')
else:
  print('No')

A = list(map(int, input().split()))
B = set(A)
if len(B) == 2:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c = map(int,input().split())
if a == b and b == c and c == a: print('Yes')
elif a != b and b != c and c != a: print('Yes')
else: print('No')

a,b,c = map(int,input().split())
if a == b and b == c and c == a: print('No')
elif a != b and b != c and c != a: print('No')
else: print('Yes')

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
N = int(input())
A = list(map(int, input().split()))

flag = 0

for i in range(N):
    if A[i] % 2 == 0:
        if A[i] % 3 == 0 or A[i] % 5 == 0:
            pass
        else:
            flag = 1
            break
        
if flag = 0:
    print("PASS")
else:
    print("DENIED")

N = int(input())
A = list(map(int, input().split()))

flag = 0

for i in range(N):
    if A[i] % 2 == 0:
        if A[i] % 3 == 0 or A[i] % 5 == 0:
            pass
        else:
            flag = 1
            break
        
 if flag = 0:
    print("PASS")
 else:
    print("DENIED")

N = int(input())
A = list(map(int, input().split()))

flag = 0

for i in range(N):
    if A[i] % 2 == 0:
        if A[i] % 3 == 0 or if A[i] % 5 == 0:
            pass
        else:
            flag = 1
            break
        
if flag = 0:
    print("PASS")
else:
    print("DENIED")

A, B, C = map(int,input().split())

if A == B == C:
    print(No)
    
else:
    print(Yes)

N = int(input())
A = list(map(int, input().split()))

flag = 0

for i in range(N):
    if A[i] % 2 == 0:
        if A[i] % 3 == 0 or A[i] % 5 == 0:
            pass
        else:
            flag = 1
            break
        
if flag = 0:
    print("APPROVED")
else:
    print("DENIED")

a = set(map(int, input().split()))
if len(a) == 2:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c = map(int,input().split)

if a == b:
  print("Yes")
else:
  if c == a:
    print("Yes")
  else:
    if c == b:
      print("Yes")
    else:
      print("No")
  


admission = []
n = int(input())
admission.append(map(int,input().split()))

for i in range(n):
    if admission[n] % 2 == 0:
        if admission[n] % 3 == 0 or admission[n] % 5 == 0:
            print("APPROVED")
        else:
            print("DENIED")

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

s = set(["a","b","c"])

if len(s) == 2:
    print("Yes)
else:
    print("No")

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

s = set([a,b,c)]

if len(s) == 2:
    print("Yes)
else:
    print("No")

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

if a != b:
  if b==c:
    print("Yes")
  else:
    print("No")
elif a == b:
  print("Yes")
else:
  print("Yes")

  
  

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

s = set(["a","b","c"])

if len(s) = 2:
  print("Yes")
else:
  print("No")

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

a = set(a,b,c)

if len(a) == 2:
    print("Yes)
else:
    print("No")

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

sum_distance = set(["a","b","c"])

if len(sum_distance) == 2:
    print("Yes)
else:
    print("No")

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

if a == b:
  print("No")
else a!= b:
  if c == a:
    print("Yes")
  else:
    if c ==b:
      print("Yes")
    else:
      print("No")
  

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

s = set([a,b,c])

if len(s) = 2:
  print("Yes")
else:
  print("No")


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

sum_distance = set(["a","b","c"])

if len(sum_distance) == 2:
    print("Yes")
else:
    print("No")

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

sum_distance = set([a,b,c])

if len(sum_distance) == 2:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a=input()
if (a[0]==a[1] and a[1]==a[2] and a[0]==a[2] )or (a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]):
  print('No')
else:
  print('Yes')

a,b,c=list(map(int,input().splilt()))
if a==b==c or a!=b!=c:
  print('No')
else:
  print('Yes')

a=input()
if (a[0]==a[1] and a[1]==a[2] and a[0]==a[2] )or (a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]):
  print('No')
else:
  print('Yes')

a=input().split()
if (a[0]==a[1] and a[1]==a[2] and a[0]==a[2] )or (a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]):
  print('No')
else:
  print('Yes')

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
input_line = input().split(' ')

arr = set(input_line)
if(len(arr) === 2):
  print('Yes')
else:
  print('No')

input_line = input().split(' ')
 
arr = set(input_line)
if(len(arr) == 2):
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c = map(int, input().split())

if a == b == c or a != b != c: print("No")
else: print("Yes")

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

if a == b == c || a != b != c: print("No")
else: print("Yes")

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

if a == b == c or a != b != c != a: print("No")
else: print("Yes")

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
i = map(int,input().split())
if (i[0] == i[1] and i[0] != i[2]) or (i[0] == i[2] and i[0] != i[1])  or (i[1] == i[2] and i[1] != i[0]):
  print("Yes")
else:
  print("No")

i = map(int,input(),split())
if (i[0] == i[1] and i[0] != i[2]) or (i[0] == i[2] and i[0] != i[1])  or (i[1] == i[2] and i[1] != i[0]):
  print("Yes")
else:
  print("No")

i = list(map(int,input().split()))
if (i[0] == i[1] and i[0] != i[2]) or (i[0] == i[2] and i[0] != i[1])  or (i[1] == i[2] and i[1] != i[0]):
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
# -*- coding: utf-8 -*-
A,B,C=map(int,input().split())
if A!=B and B!=C and C!=A:
    print("Yes")
else:
    print("No")

A,B,C=map(int,input().split())
if A!=B and B!=C and C!=A:
    print("No")
elif A==B and B==C and C==A:
    print("No")
else:
    print("Yes")

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b, c = map(int, input().split())

if a==b==c:
    print('No')
elif a==b or b==c or c==a:
    print('No')
else:
    print('No')

#include<bits/stdc++.h>

using namespace std;

int main(){
    int a, b, c; cin >> a >> b >> c;
    if(a == b == c){
        puts("No");
    }else{
        puts("Yes");
    }

}

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

if a==b==c:
    print('No')
elif a==b or b==c or c==a:
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
i = input()
a,b,c = map(int, i.split())

set = {}

set.add(a)
set.add(b)
set.add(c)

if len(s) == 2: 
  print("Yes")
else:
  print("No")

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

s = set()

s.add(a)
s.add(b)
s.add(c)

if len(s) == 2: 
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
hoge = input().split()
 
if hoge[0] == hoge[1]:
  if hoge[1] == hoge[2]:
    print("No")
  else :
    print("Yes")
    
else:
  if hoge[1] == hoge[2]:
    print("Yes")
  else:
    print("No")

hoge = input().split()
 
if hoge[0] == hoge[1]:
  if hoge[1] == hoge[2]:  #0=1=2=0
    print("No")
  else:
    if hoge[0] != hoge[2]: #0 != 1 =2 =0
      print("Yes")
    
else:
  if hoge[1] == hoge[2]:
    print("Yes")
  else:
    if hoge[0] != hoge[2]:
      print("No")

hoge = input().split()
 
if hoge[0] == hoge[1]:
  if hoge[1] == hoge[2]:  #0=1=2
    print("No")
  else:
    if hoge[0] == hoge[2]: #0 != 1 =2 
      print("No")
    else :
      print("No")
    
else:
  if hoge[1] == hoge[2]:
    print("Yes")
  else:
    if hoge[0] == hoge[2]:
      print("No")
    else :
      print("Yes")

hoge = input().split()
 
aaa = 0  
if hoge[0] == hoge[1]:
  aaa += 1
if hoge[0] == hoge[2]:
  aaa += 1
if hoge[1] == hoge[2]:
  aaa += 1    

if aaa = 1:
  print("Yes")
else:
  print("No")
	

hoge = input().split()
 
aaa = 0  
if hoge[0] == hoge[1]:
  aaa += 1
if hoge[0] == hoge[2]:
  aaa += 1
if hoge[1] == hoge[2]:
  aaa += 1    
 
if (aaa == 1) or (aaa == 2):
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c = map(int,input().split())
if a==b==c or a!=b!=c:
  print('No')
else:
  print('Yes')

a,b,c = map(int,input().split())
if a==b==c or a!=b!=c!=:
  print('No')
else:
  print('Yes')

a,b,c = map(int,input().split())
if a==b and b!=c:
    print('Yes')
elif a==c and a!=b:
    print('Yes')
elif b==c and b!=a:print('Yes')
else:print('No')

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c=map(int,input().split())
if(a==b and b==c):
  print("Yes")
elif(a==b):
  print("No")
elif(b==c):
  print("No")
elif(c==a):
  print("No")
else:
  print("Yes")

a,b,c=map(int,input().split())
if(a==b and b==c):
  print("No")
elif(a==b):
  print("Yes")
elif(b==c):
  print("Yes")
elif(c==a):
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
import sys

for line in sys.stdin:
  A, B, C = [int(s) for s in line.split()]
    
if (A - B) * (B - C) * (C - A) == 0 and (A - B) + (B - C) + (C - A) == 2:
  print("Yes")
else:
  print("No")

import sys
 
for line in sys.stdin:
  A, B, C = [int(s) for s in line.split()]
    
if (A-B) * (B-C) * (C-A) == 0 and abs(A-B) + abs(B-C) + abs(C-A) == 2:
  print("Yes")
else:
  print("No")

import sys
 
for line in sys.stdin:
  A, B, C = [int(s) for s in line.split()]
  
if ((A - B) * (B - C) * (C - A) == 0) and (int(A!=B) + int(B!=C) + int(C!=A)):
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a = list(map(int,, input().split()))
if a[0] == a[1] and a[0] != a[2]:
  print("Yes")
elif a[0] != a[1] and a[1] == a[2]:
  print("Yes")
elif a[0] == a[2] and a[0] != a[1]:
  print("Yes")
else:
  print("No")

a = list(map(int, input().split()))
if a[0] == a[1] and a[0] != a[2]:
  print("Yes")
elif a[0] != a[1] and a[1] == a[2]:
  print("Yes")
elif a[0] == a[2] and a[0] != a[1]:
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A,B,C = list(map(int,input().split()))

if A == B and A==C:
    print('No')
elif A<> B and B <> C :
    print('No')
elif A == B :
    print('Yes')
elif A == C :
    print('Yes')
elif B == A :
    print('Yes')
elif C == A :
    print('Yes')
else :
    print('No')


A,B,C = list(map(int,input().split()))

if A == B == C:
    print('No')
elif A == B and B != C:
    print('Yes')
elif A != B and A == C:
    print('Yes')
elif A != B and B ==C:
    print('Yes')
elif A != B and A != C:
    print('No')
else:
    print('No')


Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c = map(int,input().split())
if a==b==c or a!=b!=c:
  print("No")
else:
  print("Yes")

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

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a = list(map(int, input().split()))
b = set(a)
if len(b) == 2:
    print('YES')
else:
    print('NO')


a = list(map(int, input().split()))
b = set(a)
if len(b) == 2:
    print('YES')
else:
    print('NO')


a = list(map(int, input().split()))
b = set(a)
if len(b) == 2:
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
import itertools
N, K = map(int, input().split())
pair = itertools.combinations(list(map(int, input().split())), 2)
res = [i[0] * i[1] for i in pair]
res.sort()
if len(res) != 0:
    print(res[K-1])

from collections import  Counter
N = int(input())
votes = [input() for i in range(N)]
count = dict(Counter(votes))
max_vote = max(count.values())
res = []
for i in count:
    if count[i] == max_vote:
        res.append(i)
        continue
res.sort()
for i in res:
    print(i)

import itertools
N, K = map(int, input().split())
pair = itertools.combinations(map(int, input().split()), 2)
res = [i[0] * i[1] for i in pair]
res.sort()
if len(res) != 0:
    print(res[K-1])

import itertools
N, K = map(int, input().split())
input_n = list(map(int, input().split()))
pair = itertools.combinations(input_n, 2)
res = [i[0] * i[1] for i in pair]
res.sort()
print(res[K-1])

A, B, C = map(int, input().split())
if A == B and A == C:
    print("No")
elif A == B or A == C or B == C:
    print("Yes")
else:
    print("No")



Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
if len(set([int(x) for x in input().split("")])) = 2:
  print("yes")
else:
  print("No")

if len(set([int(x) for x in input().split("")])) = 2:
  print("Yes")
else:
  print("No")

if len(set([int(x) for x in input().split(" ")])) == 2:
  print("yes")
else:
  print("No")

if len(set([int(x) for x in input().split(" ")])) == 2:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c = map(int,input().split())

if a==b and b!=c:
  print("Yes")
elif c==b! and b=a:
  print("Yes")
elif a!=b and b==c:
  print("Yes")
else:
  print("No")

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

if a==b!=c:
  print("Yes")
elif c==b!=a:
  print("Yes")
elif a!=b=c:
  print("Yes"):
else:
  print("No")

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

if a==b b!=c:
  print("Yes")
elif c==b b!=a:
  print("Yes")
elif a!=b b=c:
  print("Yes"):
else:
  print("No")

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

if a==b and b!=c:
  print("Yes")
elif c==b! and c==a:
  print("Yes")
elif a!=b and b==c:
  print("Yes")
else:
  print("No")

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

if a==b and b!=c:
  print("Yes")
elif c==b! and b=a:
  print("Yes")
elif a!=b and b==c:
  print("Yes"):
else:
  print("No")

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A,B,C=map(int, input().split())
if A==B and B==C :
    print('No')
elif A!=B and B!=C:
    print('No')
else:
    print('Yes')

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

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
n = input()
_list = input().split(" ")
_list = [int(x) for x in _list]
even = [x for x in _list if x % 2==0]
answer = []
for x in even:
    if x % 3 == 0 or x % 5 == 0:
        answer.append(True)
if len(even) ==len(answer):
    print("APPROVED")
else:
    print("DENIED")

n = input()
_list = input().split(" ")
_list = [int(x) for x in _list]
even = [x for x in _list if x % 2==0]
answer = []
for x in even:
    if x % 3 == 0 or x % 5 == 0:
        answer.append(True)
if len(even) ==len(answer):
    print("APPROVED")
else:
    print("DENIED")

n = input()
_list = input().split(" ")
_list = [int(x) for x in _list]
even = [x for x in _list if x % 2==0]
answer = []
for x in even:
    if x % 3 == 0 or x % 5 == 0:
        answer.append(True)
if len(even) ==len(answer):
    print("APPROVED")
else:
    print("DENIED")

print("Yes") if len(set(list(map(int, input().split(" ")))))==2 else print("No")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a ,b ,c = int(input().spilt())
if a == b and a !=c:
    print("Yes")
elif b == c and b != c:
    print("Yes")
elif c == a and c != b:
    pritn("Yes")
else:
    print("No")

a ,b ,c = map(int(input().spilt()))
if a == b and a !=c:
    print("Yes")
elif b == c and b != c:
    print("Yes")
elif c == a and c != b:
    pritn("Yes")
else:
    print("No")

a,b,c=map(int,input().split())
if a==b and a!=c:
  print('Yes')
elif a==c and a!=b:
  print('Yes')
elif b==c and b!=a:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
l = [*map(int, input().split())]
l.sort()
if l[0] == l[1] and l[0] != l[2]:
    print("YES")
elif l[0] == l[2] and l[0] != l[1]:
    print("YES")
else:
    print("NO")

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

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b, c = map(int, input().split())
if (a==b and a!=c) or (b==c and a!=b) or (a==c and a!=b):
  print("YES")
else:
  print("NO")

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

Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A,B,C = map(int,input().split())
if A==B and B==C:
    print("No")
else:
print("Yes")


A,B,C = map(int,input().split())
if (A==B and B==C and A==C) or (A!=B and B!=C and A!=C):
    print("No")
else:
    print("Yes")

Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b, c = map(int, input().split())

if a == b and a != c:
    print("Yes")
elif b == c and b != c:
    print("Yes")
elif c == a and c != a:
    print("Yes")
else:
    print("No")


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

if a == b and a != c:
    print("Yes")
elif b == c and b != a:
    print("Yes")
elif c == a and c != b:
    print("Yes")
else:
    print("No")


Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b, c, = map(int, input().split())

if a == b == c or a != b != c:
    print('No')
else:
    print('Yes')


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

if a == b != c or b == c != a or c == a != b:
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a = input().split()
x=a[0]
y=a[1]
z=a[2]
if x==y:
    if x==z:
        print("no")
    else:
        print("yes")
else:
    if x==z:
        print("yes")
    else:
        if y==z:
            print("yes")
        else:
            print("no")

            

a = input().split()
x=a[0]
y=a[1]
z=a[2]
if x=y:
    if x=z:
        print("no")
    else:
        print("yes")
else:
    if x=z:
        print("yes")
    else:
        if y=z:
            print("yes")
        else:
            print("no")
            
            

a = input().split()
x=a[0]
y=a[1]
z=a[2]
if x==y:
    if x==z:
        print("No")
    else:
        print("Yes")
else:
    if x==z:
        print("Yes")
    else:
        if y==z:
            print("Yes")
        else:
            print("No")

            

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a = list(map(int,input().split()))
sort(a)
if (a[0] == a[1] and a[1] != a[2]) or (a[0] != a[1] and a[1] == a[2]):
  print("Yes")
else:
  print("No")

a = list(map(int,input().split()))
a.sort()
if (a[0] == a[1] and a[1] != a[2]) or (a[0] != a[1] and a[1] == a[2]):
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
inp_str = input()
a, b, c = [int(x) for x in inp_str.split()]
if (a == b or a == c or b == c) and not a == b == c:
    print('YES')
else:
    print('NO')


inp_str = input()
a = int(inp_str[0])
b = int(inp_str[2])
c = int(inp_str[4])
if (a == b or a == c or b == c) and not a == b == c:
    print('YES')
else:
    print('NO')


inp_str = input()
a = int(inp_str[0])
b = int(inp_str[2])
c = int(inp_str[4])
if (a == b or a == c or b == c) and not a == b == c:
    print('YES')
else:
    print('NO')


inp_str = input()
a, b, c = [int(x) for x in inp_str.split()]
if (a == b or a == c or b == c) and not a == b == c:
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b,c = map(int,input())

if a == b != c or b == c != a or c == a != b:
    print('Yes')
else:
    print('No')


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

if a = b != c or b = c != a or c = a != b:
    print('Yes')
else:
    print('No')


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

if a == b != c or b == c != a or c == a != b:
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Runtime Error

Accepted