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 a == b and b == c and C == a:
    print('No')
elif a != b and b != c and C != a:
    print('No')
else:
    print('Yes')


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: 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):
s = map(int,input().split())
a =0
if s[0] == s[1]and s[0] != s[2] or s[1] == s[2] and s[0] != s[2] or s[0] == s[2] and s[1] != s[2]:
    print("Yes")
else:
    print("No")

s = [int(x) for x in input().split()]
a =0
if s[0] == s[1]and s[0] != s[2] or s[1] == s[2] and s[0] != s[2] or s[0] == s[2] and s[1] != 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):
A,B,C=map(int, input().split()) #1 2 3
# print(A) 1

if A == B or A == C or B == C:
  print("NO")
else:
  print("YES")

A,B,C=map(int, input().split()) #1 2 3

if A == B == C:
  print("NO")
elif (A != B and A!=C) and B != C:
  print("NO")
else:
  print("YES")

A,B,C=map(int, input().split()) #1 2 3
# print(A) 1

if A == B or A == C:
  print("NO")
else:
  print("YES")


A,B,C=map(int, input().split()) #1 2 3

if A == B and B == C:
  print("NO")
else:
  print("YES")


A,B,C=map(int, input().split()) #1 2 3

if (A == B and A == C) and (B == C):
  print("NO")
elif (A != B and A != C) and (B != C):
  print("NO")
else:
   print("YES")

A,B,C=map(int, input().split()) #1 2 3

if (A == B and A != C) or (A != B and A == C):
  print("YES")
else:
  print("NO")


A,B,C=map(int, input().split()) #1 2 3
# print(A) 1

if A == B or A == C:
  print("YES")
else:
  print("NO")


A,B,C=map(int, input().split()) #1 2 3

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

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

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):
s = list(input())
if s[0]==s[1] and s[0]!=s[2]:
  print('Yes')
elif s[0]==s[2] and s[0]!=s[1]:
  print('Yes')
elif s[2]==s[1] and s[0]!=s[2]:
  print('Yes')
else:
  print('No')

s = input().split()
if s[0]==s[1] and s[0]!=s[2]:
    print('Yes')
elif s[0]==s[2] and s[0]!=s[1]:
    print('Yes')
elif s[2]==s[1] and s[0]!=s[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):
lis = list(map(int,input().split()))
lis = set(lis)
if len(lis) == 2:
    print('YES')
else:
    print('NO')

lis = list(map(int,input().split()))
lis = set(lis)
if len(lis) == 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())
aa = map(int, input().split())

f = False
for a in aa:
  if a % 2 == 0:
    if (a % 3 != 0) and (a % 5 != 0):
      print('DENIED')
      f = True
      break
if not f:
  print('APPROVED')

N = int(input())
aa = map(int, input().split())

f = False
for a in aa:
  if a % 2 == 0:
    if a % 3 != 0:
      print('DENIED')
      f = True
      break
    elif a % 5 != 0:
      print('DENIED')
      f = True
      break
if not f:
  print('APPROVED')


N, K = map(int, input().split())
aa = map(int, input().split())

p = []
for i in range(N-1):
  for j in range(i+1, N):
    p.append(i*j)

print(p.sorted[K])

abc = map(int, input().split())

abc_set = set(abc)

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

abc = map(int, input().split())
 
abc_set = set(abc)

if len(abc_set) == 2:
  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):
a,b,c = map(int,input().split())
count=0
if(a==b):
    count+=1
if(b==c):
    count+=1
if(c==a):
    count+=1

if(count==1):
    print('YES')
else:
    print('NO')
    

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

if(count==1):
    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(input().split())
print("Yes" if len(set(A)) == 2 and A[0].count(A) == 1 or A[0].count(A) == 2 else"No")

A = list(input().split())
print("Yes" if len(set(A)) == 2 and (A[0].count(A) == 1 or A[0].count(A) == 2) else "No")

A = list(input().split())
print("Yes" if len(set(A)) == 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, b, c = map(int, input().split())

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

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

if a == b == c:
    print("No")
elif a == b:
    print("Yes")
elif b == c:
    print("Yes")
elif a == 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 and b == c:
    print("NO")
elif a != b and b != c and a != 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):
def ABC_155_A():
    A,B,C = map(int, input().split())

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

if __name__ == '__main__':

    ABC_155_A()

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

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

if __name__ == '__main__':

    ABC_155_A()

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('Yes')
else:
  print("No")

a, b, c = map(int, input().split())
i = 0
if a == b:
  i += 1
if b == c:
  i += 1
if a == c:
  i += 1
  
  
if i == 1: 
  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):
  GNU nano 4.3                                  main                                   変更済み  
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")


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

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=input().split()
print('Yes' if A==B==C else 'NO')

A,B,C=input().split()
print('Yes' if A==B!=C or A==C!=B or B==C!=A 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):
s = input().sprit()
if s[0]==s[1] and s[0]!=s[2] print("Yes")
elif s[0]==s[2] and s[0]!=s[1] print("Yes")
elif s[2]==s[1] and s[0]!=s[2] print("Yes")
else print("No")

s = input().split()
if s[0]==s[1] and s[0]!=s[2]:
  print("Yes")
elif s[0]==s[2] and s[0]!=s[1]:
  print("Yes")
elif s[2]==s[1] and s[0]!=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):
s = input()
print("Yes" if len(set(s)) == 2 else "No")

s = [input().split()]
print("Yes" if len(set(s)) == 2 else "No")

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

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

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):
import sys

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

for x in A:
    if (x % 2 == 0) and (x % 3 != 0) and (x % 5 != 0):
        print('DENIED')
        sys.exit()

print ('APPROVED')


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

isApprove = True

for x in A:
    if x % 2 == 0:
        if (x % 3 != 0) or (x % 5 != 0):
            isApprove = False
            break
        
if isApprove:
    print ('APPROVED')
else:
    print('DENIED')


i = list(map(int, input().split()))
a = i[0]
b = i[1]
c = i[2]

isPoor = False

if (a == b or a == c) and b != c:
    isPoor = True
elif (b == a or b == c ) and a != c:
    isPoor = True
elif (c == a or c == b) and a != b:
    isPoor = True

if isPoor:
    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):
import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
print(c)
for k in c:
  b += 1
  if k == 2:
    print("Yes")
    break
  elif b == 3:
    print("No")
  elif c == 3:
    print("No")

a = input()
a = int(a)

line = [int(k) for k in input().split()]
b = 0
for k in range(len(line)):
  if line[k] % 2 == 0:
    if not line[k] % 5 == 0 and not line[k] % 3 == 0:
      print("DENIED")
      break
  elif k == a-1:
    print("APPROVED")

import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
print(c)
for k in c:
  b += 1
  if k == 2:
    print("Yes")
    break
  elif b == 3:
    print("No")
  elif c == c:
    print("No")

import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
print(c)
for k in c:
  b += 1
  if k == 2:
    print("Yes")
    break
  elif b == 3:
    print("No")
  elif k == 3:
    print("No")

import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
for k in c:
  b += 1
  if k == 2:
    print("Yes")
    break
  elif b == 3:
    print("No")
  elif k == 3:
    print("No")

Verdicts: Wrong Answer

Runtime Error

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 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 == c == a or a != b != c != a:
  print('No')
else:
  print('Yes')

Verdicts: 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())
l=[b,c]
ans=0
for i in l:
  if a==i:
    ans+=1
if b==c:
  ans+=1
if ans==1:
  print("No")
else:
  print("Yes")

a,b,c=map(int,input().split())
l=[b,c]
ans=0
for i in l:
  if a==i:
    ans+=1
if b==c:
  ans+=1
if ans==1:
  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):
s,t,u = input().split()

if s == t == u:
    print("No")
elif s != t != u:
	print("No")    
else:
    print("Yes")

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

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


A = input()
arr1 = [i for i in A.split(' ')]
if(arr1[0]==arr1[1]==arr1[2]):
	print('No')
elif((arr1[0]!=arr1[1]) and (arr1[0]!=arr1[2]) and (arr1[1]!=arr1[2])):
	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):
abc = map(int,input().split())
if len(abc) == len(set(abc)):
  print("No")
  exit()
print("Yes")abc = list(map(int, input().split()))
if len(abc) == len(set(abc)):
    print("No")
    exit()
print("Yes")


n = int(input())
a = list(map(int, input().split()))
for i in range(n):
    if a[i] % 2 == 0:
        if a[i] % 3 == 0 or a[i] % 5 == 0:
            pass
        else:
            print("DENIED")
            exit()
print("APPROVED")

abc = list(map(int, input().split()))
a = len(set(abc))
if len(set(abc)) == 2:
    print("Yes")
    exit()
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())
print("No" if a==b==c or a!=b!=!c else "Yes")

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

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

Verdicts: 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 is b and b is c:
  print('Yes')
else:
  print('No')

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

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

a, b, c = map(int, input().split())
isPoor = False
if a == b:
  if b != c:
  	isPoor = True
else:
  if b == c or a == c:
    isPoor = True
    
if isPoor:
  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):
N = int(input())
A = list(map(int, input().split()))
for val in A:
    if val % 2 == 1:
        continue
    elif val % 2 == 0:
        if val % 3 == 0:
            continue
        elif val % 5 == 0:
            continue
        else:
            print('DENIED')
            break
else:
    print('APPROVED')

A = set(map(int, input().split()))
if len(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):
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')

a,b,c=map(int,input().split())
if a==b:
  if a!=c :
    print('Yes')
  else:
    print('No')
elif a==c:
  if a!=b :
    print('Yes')
  else:
    print('No')   
elif c==b:
  if a!=c :
    print('Yes')
  else:
    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):
# from functools import reduce

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

R = reduce(lambda x, y: x and y, [n % 3 == 0 or n % 5 == 0 for n in AL if n % 2 == 0])

if R:
    print('APPROVED')
else:
    print('DENIED')



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

if len(set([A, B, C])) == 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):
import numpy as np

i=list(map(int, input().split()))
print(i)
if i[0]==i[1]&i[1]!=i[2]:
  print('Yes')
elif i[0]==i[2]&i[1]!=i[2]:
  print('Yes')
elif i[1]==i[2]&i[0]!=i[1]:
  print('Yes')
else:
  print('no')


import numpy as np

i=list(map(int, input().split()))
print(i)
if 1<=i[0]<=9:
    if i[0]==i[1]&i[1]!=i[2]:
        print('Yes')
    elif i[0]==i[2]&i[1]!=i[2]:
        print('Yes')
    elif i[1]==i[2]&i[0]!=i[1]:
        print('Yes')
    else:
        print('no')


import numpy as np

i=[int(input()) for i in range(3)]
print(i)
if i[0]==i[1]&i[1]!=i[2]:
  print('Yes')
elif i[0]==i[2]&i[1]!=i[2]:
  print('Yes')
elif i[1]==i[2]&i[0]!=i[1]:
  print('Yes')
else:
  print('no')


i=[int(input()) for i in range(3)]
print(i)
if i[0]==i[1]&&i[1]!=i[2]:
  print('Yes')
else if i[0]==i[2]&&i[1]!=i[2]:
  print('Yes')
else if i[1]==i[2]&&i[0]!=i[1]:
  print('Yes')
else:
  print('no')
  

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

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




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


if i[0]==i[1]&i[1]!=i[2]:
    print('Yes')
elif i[0]==i[2]&i[1]!=i[2]:
    print('Yes')
elif i[1]==i[2]&i[0]!=i[1]:
    print('Yes')
else:
    print('No')


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

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


Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Runtime Error

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 or b==c:
  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 (c==b and 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):
A, B, C = map(int, input().split())
if (A == B) or (B == C ):
    print("Yes")
else:
    print("No")

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


A, B, C = map(int, input().split())
if (A == B or A == C) and (B != C):
    print('Yes')
elif (B == C or B == C) and (A != C):
    print('Yes')
elif (C == A or C == B) and (A != 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 = map(int, input().split())
if a == b && a != c:
  print('Yes')
elif a == c && a != b:
  print('Yes')
elif b == c && a != c:
  print('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 a != 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):
A, B, C = map(int, input().split())

if A==B or A==C or B==C:
    if A==B and A==C:
        print("NO")
    else:
        print("YES")
else:
    print("NO")

A, B, C = map(int, input().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: 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):
l=list(map(int,input().split()))
if l[0]==l[1] and l[1]!=l[2]:
  print('Yes')
elif l[1]==l[2] and l[1]!=l[0]:
  print('Yes')
else:
  print('No')


l=list(map(int,input().split()))
l.sort()
if l[0]==l[1] and l[1]!=l[2]:
  print('Yes')
elif l[1]==l[2] and l[1]!=l[0]:
  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):
#-*- coding: utf-8 -*-
a,b,c = map(int,input().split())
cun = 0
if a==b and a!=c:
    cun = 1
elif a==c and a!=b:
    cun = 1
elif b==c and b!=a:
    cun = 1

print("Yse" if cun == 1 else "No")

#-*- coding: utf-8 -*-
a,b,c = map(int,input().split())
if a == b == c:
    print("No")
elif a != b != c:
    print("No")
else :
    print("Yes")
    

#-*- coding: utf-8 -*-
a,b,c = map(int,input().split())
print("Yse" if a==b and a!=c or a==c and a!=b or b==c and b!=a else "No")

#-*- coding: utf-8 -*-
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: 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 = int(input().split())
if A == B or B == C or C == A:
  if A == B and B == C:
    print('No')
  else:
    print('Yes')
else:
  print('No')

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


A, B, C = map(int, input().split())
if (A == B) or (B == C) or (C == A):
  if (A == B) and (B == C):
    print("No")
  else:
    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):
x, y, z = input.split()
if x == y:
  if x == z and y == z:
    print("No")
  elif x != z and y != z:
    print("No")
  else:
    print("Yes")
elif x == z:
  if x == y and y == z:
    print("No")
  elif x != y and y != z:
    print("No")
  else:
    print("Yes")
elif y == z:
  if x == y and x == z:
    print("No")
  elif x != y and x != z:
    print("No")
  else:
    print("Yes")
else:
  print("No")

n = int(input())
a = [int(i) for i in input().split()]
x = 0
for j in range(0,n):
  if not (((a[j] % 2) == 0) and (((a[j] % 3) != 0) or (a[j] % 5 != 0))):
    x = 1
if x == 1:
  print('APPROVED')
else:
  print('DENIED')

n = int(input())
a = [int(i) for i in input().split()]
x = 0
for j in range(0,n):
  if not (((a[j] % 2) == 0) and (((a[j] % 3) != 0) and (a[j] % 5 != 0))):
    x = 1
if x == 1:
  print('APPROVED')
else:
  print('DENIED')

x, y, z = input().split()
if x == y:
  if x == z and y == z:
    print("No")
  else:
    print("Yes")
elif x == z:
  if x == y and y == z:
    print("No")
  else:
    print("Yes")
elif y == z:
  if x == y and x == z:
    print("No")
  else:
    print("Yes")
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=map(int,input().split())

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

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

if not a==b==c:
  if a==b or b==c or c==a:
  	print("Yes")
  else:
    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):
x = list(map(int, input().split(' ')))

if len(set(x)) == 3:
  print('Yes')
else:
  print('No')

x = list(map(int, input().split(' ')))
 
if len(set(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, b, c = map(int, input().split())

r = 0
r += 1 if a == b else 0
r += 1 if a == c else 0
r += 1 if b == c else 0

if r == 1:
    print('Yse')
else:
    print('No')


a, b, c = map(int, input().split())
 
r = 0
r += 1 if a == b else 0
r += 1 if a == c else 0
r += 1 if b == c else 0
 
if r == 1:
    print('Yse')
else:
    print('No')

a, b, c = map(int, input().split())
 
r = 0
r += 1 if a == b else 0
r += 1 if a == c else 0
r += 1 if b == c else 0
 
if r == 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 = map(int, input().split())
if ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):
  if ((a[0] == a[1]) and (a[2] == a[1])):
    print("No")
  else:
    print("Yes")
else:
  print("No")

a = map(int, raw_input().split())
if (a[0] == a[1]) and (a[0] != a[2]):
  print("Yes")

a = map(int, raw_input().strip().split())
if ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):
  if ((a[0] == a[1]) and (a[2] == a[1])):
    print("No")
  else:
    print("Yes")
else:
  print("No)

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

a = map(int, raw_input().strip().split())
if a[0] == a[1] or a[0] == a[2] or a[2] == a[1]:
  if a[0] == a[1] and a[2] == a[1]:
    print("No")
  else:
    print("Yes")
else:
  print("No)

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

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

a = map(int, raw_input().strip().split())
if ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):
  if a[0] == a[1] and a[2] == a[1]:
    print("No")
  else:
    print("Yes")
else:
  print("No)

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

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):
S=input()
if S[0]==S[1] or S[1]==S[2] or S[2]==S[0]:
  print("Yes")
else:
  print("No")


S=input()
if S[0]==S[1] and S[1]==S[2]:
  print("Yes")
else:
  print("No")


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

if (a==b and a!=c) or (b==c and b!=a) or (c==a and 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 = int(input())
b = int(input())
c = int(input())
d=0
if (a==b):
    d+=1
if (b==c):
    d+=1
if (c==a):
    d+=1
if (d==1):
    print('Yes')
else:
    print('No')


a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
d=0
if (a==b):
    d+=1
if (b==c):
    d+=1
if (c==a):
    d+=1
if (d==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 = map(int, input().split())
if a == b or b == c or c == a:
  return "Yes"
else:
  return "No"

a,b,c = map(int, input().split())
ispoor = False
if (a == b and b!=c) or (b == c and a!=b) or (c==a and c!=b):
    ispoor = True
if ispoor:
    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):
st = input().split(" ")
s = st[0]
t = st[1]

ab = input().split(" ")
a =int(ab[0])
b =int(ab[1])

u = input()
if u == s:
    print(a-1,b)
if u == t:
    print(a,b-1)


abc = input().split(" ")
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])

d = 0
if a==b:
    d=d+1
if b==c:
    d=d+1
if c==a:
    d=d+1
if d==1:
    print("yes")
else:
    print("no")


abc = input().split(" ")
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])

d = 0
if a==b:
    d=d+1
if b==c:
    d=d+1
if c==a:
    d=d+1
if d==1:
    print("yes")
else:
    print("no")


abc = input().split(" ")
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])

d = 0
if a==b:
    d=d+1
if b==c:
    d=d+1
if c==a:
    d=d+1
if d==1:
    print("Yes")
else:
    print("No")


Verdicts: Runtime Error

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):
alf=list(map(int,input().split()))
if(alf[0]!=alf[1] and alf[1]!=alf[2] and alf[0]!=alf[2]):
    print("NO")
elif(alf[0]==alf[1] and alf[2]==alf[1] and alf[0]==alf[2]):
    print("NO")
else:
    print("YES")

alf=list(map(int,input().split()))
if(alf[0]!=alf[1] and alf[1]!=alf[2] and alf[0]!=alf[2]):
    print("NO")
elif(alf[0]==alf[1] and alf[2]==alf[1] and alf[0]==alf[2]):
    print("NO")
else:
    print("YES")

import numpy as np
import sys
input=sys.stdin.readline

def ok(a,b):
    ans=0
    n=len(a)
    for i in range(n):
        l=0
        r=len(a)-1
        
        if(a[i]*a[i]<b):
            ans-=1
        
        if(a[i]<0):
            if(a[l]*a[i]<b):
                ans+=n
                
                continue
            if(a[r]*a[i]>=b):
                ans+=0
                continue
        
            while(l+1<r):
                middle=(l+r)//2
                if(a[i]*a[middle]<b):
                    r=middle
                else:
                    l=middle
            ans+=n-r
        else:
            
            if(a[r]*a[i]<b):
                ans+=n
                continue
            if(a[l]*a[i]>=b):
                ans+=0
                continue           
            while(l+1<r):
                middle=(l+r)//2
                if(a[i]*a[middle]<b):
                    l=middle
                else:
                    r=middle   
                    
            ans+=l+1

    ans/=2
    
    return ans


NK=list(map(int,input().split()))
N=NK[0]
K=NK[1]
A=np.array(list(map(int,input().split())))
A=sorted(A)
l=-10**18
r=10**18

while(l+1<r):

    middle=(l+r)//2
    if(ok(A,middle)<K):
        l=middle
    else:
        r=middle

print(l)
            
            
        
    
    
    
    

    
    

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

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):
n = input()
ans = "No"

if n[0]==n[1]:
  if n[0]!=n[2]:
    ans="Yes"
else:
  if n[0]==n[2]:
    ans="Yes"
  elif n[1]==n[2]:
    ans="Yes"


print(ans)

n = [int(x) for x in input().split()]
ans = "No"

if n[0]==n[1]:
  if n[0]!=n[2]:
    ans="Yes"
else:
  if n[0]==n[2]:
    ans="Yes"
  elif n[1]==n[2]:
    ans="Yes"


print(ans)

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())
s=set(a,b,c)
if len(s)==2:
  print('Yes')
else:
  print('No)


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


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

a,b,c=map(int,input().split())
S=[a,b,c]
s=set(S)
if len(s)==2:
  print('Yes')
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):
x,y,z = map(int,input().split())	
if y == x == z or x != y != z:
  print("No")
else:
  print("Yes")

s = list(input())
if s[o]==s[1] and s[1]==s[2] and s[0]==s[2]:
  print("No")
else:
  print("Yes")

s = list(input())
if s[0] == s[1] or s[1] == s[2] or s[0] == s[2]:
  print("Yes")
else:
  print("No")

x,y,z = map(int,input().split())	
if y == x and y == z and x == z:
  print("No")
elif  x != y and y != z and x != z:
  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):
import collections
inputs = input().split()
if len(collections.Counter(inputs)) == 2:
  print('yes')
else:
  print('no')

import collections
inputs = input().split()
if len(collections.Counter(inputs)) == 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())
ans = "Yes" if len(set(a,b,c)) == 2 else "No"
print(ans)

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

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 = int(input())
b = int(input())
x = 0
 
if (a==0) :
	print('DENIED')
elif (b.count(0) > 0):
	print('DENIED')
else:
  for i in b:
      if i % a == 0:
          x += 1
  if x == len(b):
      print('APPROVED')
  else:
      print('DENIED')

a = int(input())
b = input()
x = 0

if (a==0) :
	print('DENIED')
elif (b.count(0) > 0):
	print('DENIED')
else:
  for i in b:
      if i % a == 0:
          x += 1
  if x == len(b):
      print('APPROVED')
  else:
      print('DENIED')


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

if (a == b) :
	print('yes')
elif (a ==c):
	print('yes')
elif (b == c):
	print('yes')
else:
	print('no')

a,b,c = map(int, input().split())
 
if (a == b) and (b !=c):
	print('Yes')
elif (a == c) and (b !=c):
	print('Yes')
elif (b == c) and (a !=c):
	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:
  input('No')
elif A != B and B != C and C != A:
  input('No')
else:
  input('Yes')

A, B, C = map(int, input().split())
if A == B and B ==C:
  print('No')
elif A != B and B != C and C != A:
  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 == c or a != b != c:
  print("No")
else:
  print("Yes")

a, b, c = map(int, input().split())
if a == 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=int(input())
string_list=[input() for i in range(n)]
import collections
import numpy as np
c = collections.Counter(string_list)
d=c.most_common()
x=int(d[0][1])
z=[]
for i in range(len(d)):
  y=int(d[i][1])
  if x==y:
    z.append(str(d[i][0]))
    
z.sort()
for i in range(len(z)):
  print(z[i])

a=list(map(int,input().split()))
count=0
if a[0]==a[1]:
  count=count+1
if a[0]==a[2]:
  count=count+1
if a[1]==a[2]:
  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):
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) or (A == C and C != B) or (B == C and A != 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):
x, y, z = map(int, input().split())
if x == y == z or x != y != z:
    print("No")
else:
    print("Yes")


x, y, z = map(int, input().split())
if x == y == z or x != y != z and z != x:
    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()))
A.sort()
print("Yes" if A[0] == A[-1] else "No")

A = set(map(int, input().split()))
print("Yes" if len(A) == 2 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 and b == c) or (a != b and b != c)):
    print("No")
else:
    print("Yes")

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

if ((a == b and b == c and c == a) or (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(str, input().split())
if a==b and a!=c:
    print("Yes")
if a==c and a!=b:
    print("Yes")
if b==c	and b!=a:
    print("Yes")
else:
    print("No")

a,b,c = map(str, 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: 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")
else:
    print("No")

a = list(map(int, input().split()))
a = set(a)
if len(a) == 1 or len(a) == 3:
    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):
print(["No","Yes"][len(set(input().split()))==3])

print(["No","Yes"][len(set(input().split()))==2])

Verdicts: Wrong Answer

Accepted