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

a=input()
b=a[2]
c=a[4]
a=a[0]
if(a==b and a == c):
  print("No")
elif(a != b and b == c):
  print("Yes")
elif(a != b and a == c):
  print("Yes")
elif(a!=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):
def equ(a,b):
  return 1*(a==b)
a,b,c = map(input().split())
ans = equ(a,b)+equ(b,c) +equ(c,a)
print('Yes' if ans ==1 else 'No')


def equ(a,b):
  return 1*(a==b)
a,b,c = map(int,input().split())
ans = equ(a,b)+equ(b,c) +equ(c,a)
print('Yes' if ans ==1 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):
n = input().split()
n= [int(i) for i in n]
n.sort()


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


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

if n[1] == n[0]:
    if n[2]==n[1]:
        print("No")
    else:
        print("Yes")
elif n[2] == n[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 = [int(elem) for elem in input().split()]

if a == b and a != c:
  return "Yes"
if a == c and a != b:
  return "Yes"
if b == c and a != b:
  return "Yes"
else:
  return "No"

a, b, c = [int(elem) for elem in 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: 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('Yes' if set(map(int, input().split()))==2 else 'No')

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

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

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
a,b,c=map(map(int,input().split()))
s=set(a,b,c)
if len(s)==2:
  print("Yes")
else:
  print("No")

import sys
myset=set()
for n in range(3):
	myset[n-1].add(sys.argv[n])
if len(myset)==2:
	print("Yes")
else:
	print("No")

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

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 = list(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")

A, B, C = list(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):
L = set(list(map(int, input().split())))
if len(L)==2:
  print('YES')
else:
  print('NO')

L = set(list(map(int, input().split())))
if len(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):
print(sys.stdin)

if len(set(input().split())) == 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):
x = input().split()

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

x = input().split(' ')

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

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

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

x = input().split()

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

ABC = input().split()

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

x = input().split(' ')

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

x = input().split()
A = x[0]
B = x[1]
C = x[2]

if  int(A) == int(B) != int(C):
    print("yes")
elif int(B) == int(C) != int(A):
    print("yes")
elif int(C) == int(A) != int(B):
    print("yes")
else:
    print("No")

x = input().split(' ')

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

x = input().split()
A = x[0]
B = x[1]
C = x[2]

if  int(A) == int(B) != int(C):
    print("yes")
elif int(B) == int(C) != int(A):
    print("yes")
elif int(C) == int(A) != int(B):
    print("yes")
else:
    print("No")

ABC = input().split(' ')

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

x = input().split(' ')

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

Verdicts: Wrong Answer

Wrong Answer

Runtime Error

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

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
import sys
def input(): return sys.stdin.readline().strip()
from collections import Counter
def resolve():
    n=int(input())
    l=[input() for i in range(n)]
    l.sort()
    c=Counter(l)
    maxl=[]
    syutugenmax=max(c.values())
    for name,kazu in c.items():
        if kazu==syutugenmax:
            maxl.append(name)
    maxl.sort()
    for i in maxl:
        print(i)
resolve()

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

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())
A = list(map(int,input().split()))
ans = 'APPROVED'
for a in A:
    if a % 2 == 0:
        if a % 3 != 0 and a % 5 != 0:
            ans = 'DENIED'
            exit()
print(ans)

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

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

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

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

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

Verdicts: Wrong Answer

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

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

if A == B and A != C :
	answer　= "Yes"
    
elif A == C and A != B :
	answer　= "Yes"
    
elif B == C and B != A :
	answer　= "Yes"
else:
	answer = "No"

print(answer)
    

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

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

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

n = int(input())
s = [input() for i in range(n)]

c = collections.Counter(s).most_common()
ans = [k for k, v in c if c[0][1] == v]
ans.sort()

for i in ans:
    print(i)

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

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):
arr=list(map(int,input().strip().split()))[:3]
if(arr[0]==arr[1] and arr[0]!=arr[2]):
  print("Yes")
elif(arr[1]==arr[2] and arr[1]!=arr[0]):
  print("Yes")
elif(arr1[0]==arr[2] and arr1[0]!=arr[1]):
  print("Yes")
else:
  print("No")

arr=list(map(int,input().strip().split()))[:3]
dict1={}
for i in arr:
    if i in dict1:
        dict1[i]+=1
    else:
        dict1[i]=1
if(len(dict1)==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):
n = int(input())
s_list = [input() for i in range(n)]
s_set = set(s)
max = 0
max_elements = []
for i in s_set:
    c = s_list.count(i)
    if c > max:
        max = c
        max_elements = [i]
    if c == max and i not in max_elements:
        max_elements.append(i)

for i in sorted(max_elements):
    print(i)


n = int(input())
s_list = [input() for i in range(n)]
s_set = set(s_list)
max = 0
max_elements = []
for i in s_set:
    c = s_list.count(i)
    if c > max:
        max = c
        max_elements = [i]
    if c == max and i not in max_elements:
        max_elements.append(i)

for i in sorted(max_elements):
    print(i)


n = int(input())
a = [int(i) for i in input().split() if i % 2 == 0]
for i in a:
    if i % 3 != 0 and i % 5 != 0:
            print("DENIED")
            exit()
print("APPROVED")

print("Yes" if(len(set(input().split())) == 2) else "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):
from collections import Counter

n = int(input())
s = [input() for _ in range(n)]
ans = []

charctor_count = Counter(s)
max_count = max(charctor_count.values())
for k, v in charctor_count.items():
  if v == max_count:
    ans.append( k)
print("\n".join(sorted(ans)))

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

#!/usr/bin/env python
n=int(input())
lst=list(map(int,input().split()))

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

ans=[]
for i in range(0,3):
    ele=int(input())
    ans.append(ele)
    
anns=set(ans)
if len(anns)==2:
    print("Yes")
else: print("No")

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

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

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

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

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

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


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

if A==B and B==C or 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())
print('No' if a != b != c or a == b == c else 'Yes')

print('Yes' if len(set([i for i in input().split()])) == 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 = list(map(int, input().split(' ')))
count = 0
if A == B:
    count += 1
if A == C:
    count += 1
if B == C:
    count += 1
if count == 2:
    print('Yes')
else:
    print('No')

A, B, C = list(map(int, input().split(' ')))
count = 0
if A == B:
    count += 1
if A == C:
    count += 1
if B == C:
    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(map(int, input().split())
if len(set(A))==1:
    print('No')
elif len(set(A)) == 2:
    print('Yes')
else:
    print('No')

a,b,c = map(int, input().split())
A = [a,b,c]
if len(set(A)) == 1 or len(set(A)) == 3:
    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):
# cook your dish here
l= list(map(int, input().split()))
if((l[0]==l[1] or l[1]==l[2]) and l[1]!=l[2]):
  print("Yes")
else:
  print("No")


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

a,b,c  = map(int, input().split())
l = [a,b,c]
for i in (0,len(l)-1):
  count = l.count(l[i])
  if count == 2:
    print("Yes")
  else:
    print("No")
  

# cook your dish here
l= list(map(int, input().split()))
if(l[0]==l[1]!=l[2] or l[0]!=l[1]==l[2]):
  print("Yes")
else:
  print("No")


# cook your dish here
l= list(map(int, input().split()))
if(l[0]==l[1]!=l[2] or l[0]!=l[1]==l[2] or l[0]==l[2]!=l[1]):
  print("Yes")
else:
  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=int(input())
b=int(input())
c=int(input())
if(a==b or b==c or a==c):
    if(not(a==b and b==c)):
        print("Yes")
    else:
        print("No")
else:
    print("No")

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

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

X,Y,Z = input().split()
s = X
t = Y
u = Z
if (s==t and s==u):
    print("No")
elif (s==t or t==u or s==u):
    print("Yes")
elif (s!=t or t!=u):
    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())

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

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

if len(set([a,b,c])) == 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 A!=C:
  print('Yes')
if A==C and A!=B: 
  print('Yes')
if B==C and B!=A: 
  print('Yes')
else: 
  print('No')

A=int(input())
B=int(input())
C=int(input())
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=input()
b=input()
c=input()
A=int(a)
B=int(b)
C=int(c)
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=int(input())
B=int(input())
C=int(input())
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 = 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: 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):
import numpy as np
print('Yes') if np.unique(list(input().split())) == 2 else print('No')

A = input().split()
res = []
for i in A:
  if i not in res:
    res.append(i)

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

a,b,c = map(int,input().split())
P = set([a,b,c])
if len(P) == 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 = list(map(int,input().split()))
a.sort()
if a[0] == a[1]:
	if a[1] == a[2]:
		print("NO")
	else:
		print("YES")
else:
	if a[1] == a[2]:
		print("YES")
	else:
		print("NO")

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
N =[int(i) for i in input().split(" ")]
j=0
count=0
for k in range(j+1,len(N)):
    if N[j]==N[k]:
        count += 1
    j+=1
    
if count==1:
    print("Yes")
else:
    print("No")

N =[int(i) for i in input().split(" ")]
j=0
count=0
for k in range(1,len(N)):
    if N[j]==N[k]:
        count += 1
    j+=1
    
if count==1:
    print("Yes")
else:
    print("No")

N =[int(i) for i in input().split(" ")]
count=0
print(N)
for j in range(len(N)-1):
    for k in range(j+1,len(N)):
        if N[j]==N[k]:
            count += 1
print(count)
if count==1:
    print("Yes")
else:
    print("No")

N =[int(i) for i in input().split(" ")]
count=0
for j in range(len(N)-1):
    for k in range(j+1,len(N)):
        if N[j]==N[k]:
            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):
A, B, C = map(int, input().split())
list = [A, B, C]
ans = list(set(list))
if len(ans) == 2:
    print('Yes')
else:
    print('No')


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


Verdicts: Runtime Error

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

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

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


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

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


Verdicts: Wrong Answer

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

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

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

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

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


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

else:
    print("No")

ans = list(int(i) for i in input().split()) 
ans.sort()

if ans[0] == ans[1] and ans[1] == ans[2]:
    print("No")
    exit()
    
if ans[0]==ans[1] or ans[1] == ans[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=input().split()

print(A)
print(B)
print(C)

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

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

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


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

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


Verdicts: Runtime Error

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

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

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


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


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


Verdicts: Wrong Answer

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

N = int(input())
word = [ input() for i in range(N) ]


from collections import Counter
kazu_word = Counter(word)


kazu_word_a = max(kazu_word.values()) 
kazu_word_max =[i for i,v in kazu_word.items() if v == kazu_word_a ]
kazu_word_max_sorted = sorted(kazu_word_max)


print("\n".join(kazu_word_max_sorted)) 


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

#
if a == b == c:
    print("No")
elif a == b or b ==c or 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):
import sys
#import numpy as np
n = int(input())
input = sys.stdin.readline
#a = np.array(list(map(int, input().split())))
a = list(map(int, input().split()))
for i in a:
    if i % 2 == 0:
        if i % 3 != 0 and i % 5 != 0:
            print('DENIED')
            exit()
print('APPROVED')

#!/usr/bin/env python3


a, b, c = map(int, open(0).read().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())
L = list(map(int, input().split()))
c = 0
for i in range(N):
  if L[i] % 2 == 0:
    if L[i] % 3 == 0:
      c += 1
    elif L[i] % 5 == 0:
      c += 1
    else:
      c = 0
      break
  else:
    c += 1

if c == N:
  print("APPROVED")  
else:
  print ("DENIED")

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

Verdicts: Runtime Error

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

Submission attempts (in order):
s = input().split()
s.sort()
if s[0]==s[1] and s[1]!=s[2]:
    print("YES")
else:
    print("NO")

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

A, B, C = x.split(' ')

count = 0
if A == B:
    count += 1
if B == C:
    count += 1
if count == 1:
    print('yes')
else:
    if A == C:
        print('yes')
    else:
        print('no')

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

count = 0
if A == B:
    count += 1
if B == C:
    count += 1
if count == 1:
    print('Yes')
else:
    if A == C and count == 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):
A,B,C=[int(i) for i in input().split()]
if A == B == C:
    print("No")
elif A != B != C:
    print("No")
else:
    print("Yes")


A,B,C=[int(i) for i in input().split()]
if A == B and A == 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):
lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
if a+b+c == 4:
    print("Yes")
else:
    print("No")

lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
if a+b+C == 4:
    print("Yes")
else:
    print("No")

lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
print(a, b, c)
if a+b+c == 5:
    print("Yes")
else:
    print("No")


lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
if a+b+c == 5:
    print("Yes")
else:
    print("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):
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())

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

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

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

Verdicts: Runtime Error

Runtime Error

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

Submission attempts (in order):
n=int(input())
s=[input() for _ in range(n)]
ans={}
for i in range(len(s)):
    if(s[i] not in ans):
        ans[s[i]] = 1
    else:
        ans[s[i]] += 1
ans=sorted(ans.items(), key = lambda x:x[1], reverse = True)
anss=[]
anss.append(ans[0][0])
for j in range(1,len(ans)):
    if(ans[j][1] == ans[0][1]):
        anss.append(ans[j][0])
    else:
        break
for t in sorted(anss):
    print(t)

a=len(set(list(map(int,input().split()))))
if(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("Yes" if 2==set(list(map(int,input().split()))) else "No")


print("Yes" if 2==len(set(list(map(int,input().split())))) 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):
from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values():
	if i==2:
	    print("Yes")
        exit()
print("No")


from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values():
	if i==2:
		print("Yes")
        exit()
print("No")


from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values():
	if i==2:
	    print("Yes")
        exit()
print("No")


from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values():
	if i==2:
		print("Yes")
    	exit()
print("No")


from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values()
	if i==2:
	    print("Yes")
      	exit()
print("No")

from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values():
	if i==2:
      print("Yes")
	  exit()
print("No")


from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values():
    if i==2:
        print("Yes")
        exit()
print("No")


Verdicts: 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):
    n= int(input())
    lista=[]
    listanova=[]
    for x in input().split():
    	x= int(x)
    	if x %2 ==0:
    		lista.append(x)
    for x in lista:
    	if x %3==0 or x%5==0:
    		listanova.append(x)
     
    if len(lista)==len(listanova):
    	print('APPROVED')
    else:
    	print('DENIED')

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

if (a==b and c==b) or (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())

a=list(map(int,input().split()))
b=0
for i in range(len(a)-1):
    if a[i]//2==0:
        if a[i]//3==0 or a[i]//5==0:
            b=b+1
    else:
        b=b+1

if b==n:
    print("APPROVED")
else:
    print("DENIED")

A=map(int,input().split())
if A[0]=A[1]=A[2]:
    print("No")
elif　A[0]=A[1] orA[1]=A[2]:
    print("Yes")
else:
    print("No")


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

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


Verdicts: Runtime Error

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

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

print("Yes" if len(set({a,b,c})) == 2 else "No")

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

print("Yes" if len(set({a,b,c})) == 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):
A , B, C = map(int, input().split())
L = [A,B,C]
if not len(set(L)) == 2:
    print("Yes")
else:
    print("No")

A , B, C = map(int, input().split())
L = [A,B,C]
if not len(set(L)) == len(L):
    print("No")
else:
    print("Yes")

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

Verdicts: Wrong Answer

Wrong Answer

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

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

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

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

print("Yes" if len(set(map(int,input().split())))==2 else "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):
n = int(input())
a = list(map(int,input().split()))
for i in range(a):
    if i%2==0:
        if i%3 !=0 or i%5 !=0:
            print('DENIED')
print('APPROVED')

        
        
                

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

List= sorted(int,input().split())
if len(List)==2:
    print('Yes')
else:
    print('No') 

List= sorted(list(int,input().split()))
if len(List)==2:
    print('Yes')
else:
    print('No') 

List= list(map(int,input().split()))
List=set(List)
if len(List)==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):
nums = input().rstrip().split(" ")
n1 = int(nums[0])
n2 = int(nums[1])
n3 = int(nums[2])
if n1 == n2 and n2 == n3:
  print("No")
elif n1 != n2 and n2 != n3:
  print("No")
else:
  print("Yes")

nums = input(),rstrip(),split(" ")
n1 = int(nums[0])
n2 = int(nums[1])
n3 = int(nums[2])
if n1 == n2:
  if n2 == n3:
    print("No")
  else:
    print("Yes")
else if n2 == n3:
  print("Yes")
else:
  print("No")

nums = input(),rstrip(),split(" ")
n1 = int(nums[0])
n2 = int(nums[1])
n3 = int(nums[2])
if n1 == n2 and n2 == n3:
  print("No")
else if n1 != n2 and n2 =! n3:
  print("No")
else:
  print("Yes")

nums = input().rstrip().split(" ")
n1 = int(nums[0])
n2 = int(nums[1])
n3 = int(nums[2])
if n1 == n2 and n2 == n3 and n1 == n3:
  print("No")
elif n1 != n2 and n2 != n3 and n1 != n3:
  print("No")
else:
  print("Yes")

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Accepted