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):
def main():
    a, b, c = map(int, input().split())
    if a == b == c:
        print('No')
    elif a != b != c:
        print('No')
    else:
        print('Yes')
        
if __name__ == '__main__':
    main()

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

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 = set(list(map(int, input().split())))
print('yes' if len(a) == 2 else 'no')

a = set(list(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):
z,y,x=(int(x) for x in input().split())
if z == y:
  if y ==x:
    return "No"
  else:
    return "Yes"
else:
  if z ==x:
    return "Yes"
  else:
    if y == x:
      return "Yes"
    else:
      return "No"


x,y,z=(input().split(" "))
if z == y:
  if y ==x:
    return("No")
  else:
    return("Yes")
else:
  if z ==x:
    return("Yes")
  else:
    if y == x:
      return("Yes")
    else:
      return("No")


x,y,z=(input().split(" "))
if z == y:
  if y == x:
    return "No"
  else:
    return "Yes"
else:
  if z == x:
    return "Yes"
  else:
    if y == x:
      return "Yes"
    else:
      return "No"


z,y,x=(int(x) for x in input().split())
if z == y:
  if y ==x:
    return "No"
  else:
    return "Yes"
else:
  if z ==x:
    return "Yes"
  else:
    if y == x:
      return "Yes"
    else:
      return "No"

x,y,z=(input().split(" "))
if z == y:
  if y ==x:
    return "No"
  else:
    return "Yes"
else:
  if z ==x:
    return "Yes"
  else:
    if y == x:
      return "Yes"
    else:
      return "No"


x,y,z=(input().split(" "))
if z == y:
  if y ==x:
    print("No")
  else:
    print("Yes")
else:
  if z ==x:
    print("Yes")
  else:
    if y == x:
      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):
s = list(map(int, input().split()))
if len(list(set(s))) == 1 or len(list(set(s))) == 3:
    print('NO')
else:
    print('Yes')
print(set(s))

s = list(map(int, input().split()))
if len(list(set(s))) == 1 or len(list(set(s))) == 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):
a,b,c=map(int,input().split())
if (a==b or b==c or c==a) :
  if a==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==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):
a,b,c=(int(x) for x in 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 b == c:
    if b != a:
        print('yes')
    else:
        print("no")
else:
    print("no")


a,b,c=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 b == c:
    if b != a:
        print('yes')
    else:
        print("no")
else:
    print("no")


a,b,c=int(input().splot())
if a == b:
    if a != c:
        print('yes')
    else:
        print("no")
elif a == c:
    if (a != b:
        print('yes')
    else:
        print("no")
else:
    print("no")


a,b,c=int(input().splot())
if a == b:
    if a != c:
        print('yes')
    else:
        print("no")
elif a == c:
    if a != b:
        print('yes')
    else:
        print("no")
else:
    print("no")


a,b,c=input().split()
if a == b:
    if a != c:
        print('yes')
    else:
        print("no")
elif a == c:
    if a != b:
        print('yes')
    else:
        print("no")
else:
    print("no")


a,b,c=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 b == c:
    if b != a:
        print('yes')
    else:
        print("no")
else:
    print("no")


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


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):
x = int(input())
y = int(input())
z = int(input())
if x == y or y == z or x == z:
    print("Yes")
else:
    print("No")

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

if a[0] == a[1]:
  if a[0] != a[2]:
   	ans = "Yes"
else:
  if a[0] == a[1] or a[1] == a[2]:
    ans = "Yes"
    
print(ans)

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

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

a = list(map(int,input().split()))
ans = "No"

if a[0] == a[1]:
  if a[0] != a[2]:
   	ans = "Yes"
else:
  if a[0] == a[2] or a[1] == a[2]:
    ans = "Yes"
    
print(ans)

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):
vA, B, C = map(int, input().split())

if A == B and B != C:
    print("Yes")
elif B == C and A != B:
    print("Yes")
elif A == C and A != B:
    print("Yes")
else:
    pirnt("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: 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=int(input())
S=[]
for i in range(n):
    S.append(input())

from collections import defaultdict
d = defaultdict(lambda:0)

for k in S:
    d[str(k)]+=1

ansn=max(d.values())
ans=[]
for i in set(S):
    if d[i]==ansn:
        ans.append(i)

ans=sorted(ans)
for i in range(len(ans)):
    print(ans[i])


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

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 C == B and C != A:
    print('Yes')
elif A == C and C != B:
    print('Yes')
else('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 = C and C != B:
    print('Yes')
else('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 == C and C != B:
  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())
l=[]
l.append(a)
l.append(b)
l.append(c)

a=set(l)
if len(a)==1:
  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!=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 & a==c:
  print("No")
else:
  if a!=b & a!=c:
    print("No")
  else:
    print("Yes")
 

a,b,c=map(int,input().split())
if a==b:
  if a==c:
    print("No")
  else:
    print("Yes")
else:
  if a==c:
    print("Yes")
  else:
    if 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):
read = lambda: map(int, input().split())
a, b, c = read()
print('Yes' if set((a, b, c)) == 2 else 'No')

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

ans = "No"

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

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

ans = "No"

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



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

A,B,C=map(int,input().split())
ans = 0
if A==B:
  ans = ans+1
if B==C:
  ans=ans+1
if A==C:
  ans=ans+1
if ans==3 or ans==0:
  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):
import sys
 
line = [l for l in sys.stdin][0]
digits = line.split(' ')
num = [int(s) for s in digits]
 
res = 'No'
if num[0] == num[1]:
  if num[0] != num[2]:
    res = 'Yes'
    
if num[1] == num[2]:
  if num[1] != num[0]:
    res = 'Yes'
print(res)

import sys

line = sys.argv[1]
digits = line.split(' ')
nums = [int(s) for s in digits]

res = 'No'
if num[0] == num[1]:
  if num[0] != num[2]:
    res = 'Yes'
    
if num[1] == num[2]:
  if num[1] != num[0]:
    res = 'Yes'
    
if num[2] == num[0]:
  if num[2] != num[1]:
    res = 'Yes'
return res

import sys
 
line = [l for l in sys.stdin][0]
digits = line.split(' ')
num = [int(s) for s in digits]
 
res = 'No'
if num[0] == num[1]:
  if num[0] != num[2]:
    res = 'Yes'
    
if num[1] == num[2]:
  if num[1] != num[0]:
    res = 'Yes'

if num[2] == num[1]:
  if num[2] != num[0]:
    res = 'Yes'
    
print(res)


import sys
 
line = [l for l in sys.stdin][0]
digits = line.split(' ')
num = [int(s) for s in digits]
 
res = 'No'
if num[0] == num[1]:
  if num[0] != num[2]:
    res = 'Yes'
    
if num[1] == num[2]:
  if num[1] != num[0]:
    res = 'Yes'

if num[2] == num[0]:
  if num[2] != num[1]:
    res = 'Yes'
    
print(res)


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

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

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

if a == b:
  if a == c:
    print("No")
  else:
    print("Yes")
else:
  if a == c:
    print("Yes")
  else:
    if 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):

data = input().split( )

if (data[0] == data[1] or data[1] == data[2] or
   data[2] ==data[0]) and data[1]!= data[2]!=data[0] :
    print("Yes")

else:
    print("No")


data = input().split( )

if (data[0] == data[1] or data[1] == data[2] or
   data[2] ==data[0]) and data[1]!= data[2]!=data[3] :
    print("Yes")

else:
    print("No")


data = input().split( )

if (data[0] == data[1] or data[1] == data[2] or
   data[2] ==data[0]) and not data[1]== data[2]==data[0] :
    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=(int(x) for x in input().split())
 
if a == b or a == c or b == c:
    if a == b == c:
        print("no")
    else:
        print("yes")
  
else:
  print("no")


a,b,c=(int(x) for x in input().split())

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

a,b,c=(int(x) for x in input().split())
 
if a == b or a == c or b == c:
    if a == b == c:
        print("No")
    else:
        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 = (int, input().split())

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

a, b, c = (int, raw_input().split())
 
if a == b or a == c:
  print ('Yes')
elif b == c:
  print ('Yes')
else:
  print ('No')

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

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

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

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

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

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

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

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

a = list(map(int, input().split()))
A = a[0]
B = a[1]
C = a[2]

if (A == B == C) or (A is not B and B is not C and C is not 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 = input().split()
a = set(a)
print("YES" if len(a) == 2 else "No")

a = input().split()
count = 0
if a[0] == a[1]:
    count = count + 1
if a[1] == a[2]:
    count = count + 1
if a[0] == a[2]:
    count = count + 1
print("Yes" if count == 2 else "No")

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

a = input().split()
count = 0
if a[0] == a[1]:
    count = count + 1
if a[1] == a[2]:
    count = count + 1
if a[0] == a[2]:
    count = count + 1
if count == 1:
    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):
W= [int(x) for x in input().split()]
print("Yes" if len(set(W) ==2 else "No") 

W= [int(x) for x in input().split()]
print("Yes" if len(set(W)) ==2 else "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):
input_line = input().split(' ')

num=set(input_line)

if num==2:
  print('Yes')
else:
  print('No')

input_line = input().split(' ')

num=set(input_line)

if len(num)==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()))
A = sorted(A)

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


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

if A[0] == A[1] != A[2]:
    print("Yes")
    exit()

if A[1] == A[2] != A[0]:
    print("Yes")
    exit()

if A[2] == A[0] != A[1]:
    print("Yes")
    exit()

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

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


return 'No'

n = int(input())
nums = [int(i) for i in input().split(" ")]

approved = True
for num in nums:
  if num%2 == 0:
    approved = (num%3 == 0) or (num%5 == 0)
if approved:
  print('APPROVED')
else:
  print('DENIED')
  

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

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

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

if (a == b) & (b == c):
  print('No')
if (a == b) | (b == c):
  print('Yes')
print('No')
  

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

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

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

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

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

if (a == b) & (b == c):
	print('no')

if (a == b) | (b == c):
	print('yes')

print('no')
    

n = int(input())
nums = [int(i) for i in input().split(" ")]

approved = True
for num in nums:
  if num%2 == 0:
    approved = (num%3 == 0) | (num%5 == 0)
if approved:
  print('APPROVED')
else:
  print('DENIED')
  

n = int(input())
nums = [int(i) for i in input().split(" ")]

approved = True
for num in nums:
  if num%2 == 0:
    approved = (num%3 == 0) or (num%5 == 0)
if approved:
  print('APPROVED')
else:
  print('DENIED')
  

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

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


Verdicts: Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

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):
def main():
    n = int(input())
    S = sorted([input() for s in range(n)])
    D = list(set(S))
    count = []*len(D)
    for i in range(len(D)):
        count[i] = S.count(D[i])
    maxi = max(count)
    for i in range(len(D)):
        if(count[i]==maxi):
            print(D[i])
main()

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

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

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

elif 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 = list(map(int, input().split()))

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

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

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


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

if set(len(a)) == 2:
  print('Yes')

else:
  print('No')
  


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

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


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

alist.sort()
if alist[0] == alist[1] and alist[1] > alist[2]:
    print('Yes')
else:
    print('No')

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

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

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

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

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()
A = list(map(str, input().split()))
B=[]
C=[]
l=[]
m=[]
i=0
for a in range(int(N)):
    if int(A[a])%2==0:
       B.append(A[a])
       i=i+1
for a in range(int(i)):
    if not int(B[a])%3==0 or int(B[a])%5==0:
       C=1
    else:
       C=0
if C==1:
   print("DENIED")
else:
   print("APPROVED")

A = list(map(str, input().split()))
m=set(A)
s=len(m)
if 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):
# -*- coding: utf-8 -*-



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

# -*- coding: utf-8 -*-



import math
a, b, c = map(int, input().split())
if a == b and a != c and b != c:
  print('Yes')
elif b == c and a != b and a != c:
  print('Yes')
elif c == a and a != b 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):
box = list(map(int, input().split()))
if box.count(box[0]) == 2:
  print("No")
elif box.count(box[1]) == 2:
  print("No")
else :
  print("Yes")

box = list(map(int, input().split()))
if box.count(box[0]) == 2:
  print("Yes")
elif box.count(box[1]) == 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):
c = list(map(int, input().split()))

if(int(len(set(c)) == 1)):
    print("No")
elif(len(c) != len(set(c))):
    print("YES")
else:
    print("No")

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

if(int(len(set(c)) == 1)):
    print("No")
elif(len(c) != len(set(c))):
    print("YES")
else:
    print("YES")

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

if(int(len(set(c)) == 1)):
    print("No")
elif(int(len(set(c)) == 2)):
    print("YES")
else:
    print("No")

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

if(int(len(set(c)) == 3)):
    print("No")
elif(int(len(set(c)) == 2)):
    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 = list(map(int, input().split()))

hoge = {a, b, c}

if len(hoge) == 2:
  print(Yes)
else:
  print(No)

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

hoge = {a, b, c}

if len(hoge) == 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):
array = [int(i) for i in input().split()]

if all(map(lambda i: i == array[0], array)):
    print("No")
else:
    if array[0] != array[1] != array[2]:
        print("No")
    else:
        print("Yes")


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

if (a[0] == a[1] == 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

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 and A!=C:
    print("YES")
elif A==C and A!=B:
    print("YES")
elif C==B and B!=A:
    print("YES")
else :
    print("NO")

A,B,C=(int(x) for x in input().split())

if A==B and A!=C:
    print("Yes")
elif A==C and A!=B:
    print("Yes")
elif C==B 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):
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#l = list(map(int, input().split()))


l = list(map(int, input().split()))
l.sort

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


#k = int(input())
#s = input()
#a, b = map(int, input().split())
#l = list(map(int, input().split()))


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

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


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

i = list(map(int, input().split()))
A = i[0]
B = i[1]
C = i[2]
if A == B != C :
  print('Yes')
elif A != B == C :
  print('Yes')
elif A == C != B :
  print('Yes')
else :
  print('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):
import collections
N=int(input())
l=[input() for i in range(N)]
c=collections.Counter(l)
c=c.most_common()
l2=[]

M=c.[0][1]
for i in range(N):
    if c.[i][1]==M:
        l2.append(c.[i][0])
    else:
        break
l2.sort()
for j in range(len(l2)):
    print(l2[j])

import collections
N=int(input())
l=[input() for i in range(N)]
c=collections.Counter(l)
c=c.most_common()
l2=[]
 
M=c.[0][1]
for i in range(N):
    if c.[i][1]==M:
        l2.append(c.[i][0])
    else:
        break
l2.sort()
for j in range(len(l2)):
    print(l2[j])

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

if A==B and B!=C:
    print("Yes")
elif B==C and C!=A:
    print("Yes")
elif C==A and A!=B:
    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):
n = int(input())
s = [int(x) for x in list(input().split()) if int(x)%2 == 0]
ans = "APPROVED"
for i in s:
  if i%5 != 0 and i%3 != 0:
    ans = "DENIED"
    pass
print(ans)


s = [x for x in list(input())]
ans = "No"
for i in range(3):
  tmp = [int(x)/int(s[i]) == 1 for x in s]
  is_poor = 0
  for j in tmp:
    is_poor += j
  if is_poor == 2:
    ans = "Yes"
    pass
print(ans)


s = [int(x) for x in list(input())]
ans = "No"
for i in range(3):
  tmp = [x/s[i] == 1 for x in s]
  is_poor = 0
  for j in tmp:
    is_poor += j
  if is_poor == 2:
    ans = "Yes"
    pass
print(ans)

s = [x for x in list(input())]
ans = "No"
for i in range(3):
  tmp = [int(x)/s[i] == 1 for x in s]
  is_poor = 0
  for j in tmp:
    is_poor += j
  if is_poor == 2:
    ans = "Yes"
    pass
print(ans)


s = [int(x) for x in list(input().split())]
ans = "No"
for i in range(3):
  tmp = [x/s[i] == 1 for x in s]
  is_poor = 0
  for j in tmp:
    is_poor += j
  if is_poor == 2:
    ans = "Yes"
    pass
print(ans)


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):
N=int(input())
li = list(map(int,input().split()))

for i in li:
  if i%2 ==0:
    if i%3 != 0 and i%5 != 0:
      print('DENIED')
      break
    else:
      continue
  continue
  print('APPROVED')

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

for i in li:
  if i%2 ==0:
    if i%3 == 0 or i%5 == 0:
      a
    else:
      print('DENIED')
      break
  print('APPROVED')

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

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 (x == y and y != z) or (x==z and y !=z) or (a !=b and b==c)
  print("Yes")
else:
  print("No")


def triple (a,b,c):
  if a == b or a ==c or b == c:
    return "No"
  else:
    return "Yes"

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

if (x == y and y != z) or (x==z and y !=z) or (x !=y and y==z):
  print("Yes")
else:
  print("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())
t = b - a
y = c - b
if (t == 0 and y != 0) or (t != 0 and y == 0):
    print("Yes")
else:
    print("No")

a,b,c = map(int,input().split())
y = [a,b,c]
ac = y.count(a)
bc = y.count(b)
cc = y.count(c)
if ac == 2 or bc == 2 or cc == 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()))

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

A=list(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 and a == c:
    print("NO")
elif a != b and a != c and b != c:
    print("NO")
else:
    print("YES")

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

"""
from sys import stdin
n = int(stdin.readline().rstrip())
data = [stdin.readline().rstrip().split() for _ in range(n)]
print(data)
print(*data, sep='\n')
"""
##################################################################

"""
s =input()
s=list(input())
a=int(input())
x,y = map(int,input().split())	
li = input().split()	
li = list(map(int,input().split()))	
li = input().split('T')	
"""
##################################################################
x,y,z = map(int,input().split())	

if (x==y and y==z) or (x!=y and y!=z) :
    print("No")
else:
    print("Yes")

    
    






"""
from sys import stdin
n = int(stdin.readline().rstrip())
data = [stdin.readline().rstrip().split() for _ in range(n)]
print(data)
print(*data, sep='\n')
"""
##################################################################

"""
s =input()
s=list(input())
a=int(input())
x,y = map(int,input().split())	
li = input().split()	
li = list(map(int,input().split()))	
li = input().split('T')	
"""
##################################################################
li = input().split()
#print(li)
if len(set(li))==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):
s=list(input())

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

s=list(input())

if s[0] == s[1] and s[1] == [2]:
	print("No")
elif s[0] != s[1] and s[1] != s[2] and s[2] != s[0]:
	print("No")
else:
	print("Yes")

s=list(input())

if s[0] == s[1] and s[1] == [2] and s[2] == s[0]: 
	print("No")
elif s[0] != s[1] and s[1] != [2] and s[2] != s[0]:
	print("No")
else:
	print("Yes")

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

if s[0] == s[1] == s[2]: 
	print("No")
elif s[0] != s[1] != s[2] != s[0]:
	print("No")
else:
	print("Yes")


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

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

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

ABC = list(map(int,input().split()))
set_ABC = set(ABC)
if len(set_ABC) == 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 = int(input())
B = int(input())
C = int(input())

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

A,B,C=input().split()
a,b,c=int(A),int(B),int(C)

if a==b and b!=c:
    print("Yes")
elif a==c and a!=b:
    print("Yes")
elif b==c and a!=b:
    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):
number_1,number_2,number_3= map(int,input().split())
if number_1 == number_2 and  number_1 != number_3 :
      print ('yes') 
elif  number_1 == number_3 and  number_1!= number_2 :
      print ('yes')
elif  number_1 !=  number_2 and  number_2== number_3 :
      print ('yes')
else :
    print ("no")

number_1,number_2,number_3= map(int,input().split())
if number_1 == number_2 and  number_1 != number_3 :
      print ('Yes') 
elif  number_1 == number_3 and  number_1!= number_2 :
      print ('Yes')
elif  number_1 !=  number_2 and  number_2== number_3 :
      print ('Yes')
else :
    print ("No")
    


Verdicts: Wrong Answer

Accepted