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):
ary = input().split(" ")
a = ary[0]
b = ary[1]
c = ary[2]

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


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

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




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

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



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

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

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

Verdicts: Runtime Error

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

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


for i in range(n):

    if a[i]%2==0:
        b.append(a[i])

    else:pass


for k in range(len(b)):

    if b[k]%3==0 or b[k]%5==0:

        c.append(b[k])

if len(b)==len(c):

    print("APPROVED")

else:
    print("DENIED")


a=[]
a=list(map(int,input().split()))
a=set(a)

if len(a)==2:

    print("Yes")

else:print("No")


Verdicts: Runtime Error

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

Submission attempts (in order):
dataList = input().split(" ")

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

dataList = input().split(" ")

if len(set(dataList)) == 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.sort()
if a[0] == a[2] or a[0] < a[1] < a[2]:
  print('Yes')
else:
  print('No')

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

a.sort()
if a[0] == a[2] or a[0] < a[1] < 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 = map(int,input.split())

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

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

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

Verdicts: Runtime Error

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

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

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

a,b,c=[int(x) for x in 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

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

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

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


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

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


Verdicts: Runtime Error

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=mpp(int,input().split())
l=[a,b,c]
sorted(l)
if len(l)==2:
  print('Yes')
elif:
  print('No')
  

a,b,c=map(int,input().split())
l=[a,b,c]
sorted(l)
if len(l)==2:
  print('Yes')
elif:
  print('No')
  


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

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

a,b,c=map(int,input().split())
l=[a,b,c]
l.sort()
if l[0]==l[1] and l[1]!=l[2]:
  print('Yes')
elif l[0]!=l[1] and l[1]==l[2]:
  print('Yes')
else:
  print('No')
  

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

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

Submission attempts (in order):
a,b,c = map(int,input().split())
k = [a, b, c]
if(len(set(k))==2):
    print("yes")
else:
    print("no")

a,b,c = map(int,input().split())
k = [a, b, c]
if(len(set(k))==2):
    print("yes")
else:
    print("no")

a,b,c = map(int,input().split())
k = [a, b, c]
if(len(set(k))==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):
N = int(input())
list_n = list(map(int, input().split()))
flag = 0
for i in range(N):
  if list_n[i] % 2 == 0:
    if (list_n[i] % 3 != 0) and (list_n[i] % 5 != 0):
      print('DENIED')
      flag = 1
      break
    else:
      continue
if flag == 0:
  print('APPROVED')

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

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

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

list=[int(x) for x in input().split()]
count=0
list.sort()
for i in range(1,len(list)):
  if list[i-1]==list[i]:
    count=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, B, C = [int(i) for i in input().split()]

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

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

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

print('Yes' if Num%2 <1 else 'No')

Num = len(set(input()))

print('No' if Num%2 < 1 else '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):
# -*- coding: utf-8 -*-
a = int(input())
judge = True
for i in range(a):
  b = int(input())
  if (b % 2 == 0) and ((b % 3 == 0) or (b % 5 == 0)):
    judge = False

if judge:
  print("APPROVED")
else:
  print("DENIED")

# -*- coding: utf-8 -*-
a, b, c = map(int, input().split())
l = [a, b, c]
counter = 0
if a == b:
  counter += 1
if b == c:
  counter += 1
if a == c:
  counter += 1
if counter == 1:
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

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

Submission attempts (in order):
a,b,c = list(map(int,input().split()))
if a==b and a != c:
  print("Yes")
elif a==c and a!=c:
  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):
import sys
a,b,c=map(int,input().split()) 
if a==b :
    if a==c:
        print('No')
        sys.exit()
    else:
        print('Yes')
        sys.exit()
if b==c:
    print('Yes')
    sys.exit()
    
print('No')

import sys
a,b,c=map(int,input().split()) 
if a==b :
    if a==c:
        print('No')
        sys.exit()
    else:
        print('Yes')
        sys.exit()
if b==c:
    print('Yes')
    sys.exit()

if a==c:
    print('Yes')
    sys.exit()
    
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()
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')

a, b, c = input()
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')

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: Runtime Error

Runtime Error

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

Submission attempts (in order):
a, b, c = [int(i) for i in input().split(" ")]

ab = a == b
bc = b == c
ca = c == a

cnt = 0
for r in [ab, bc, ca]:
  if r:
    cnt += 1

if cnt == 2:
  print("Yes")
else:
  print("No")

a, b, c = [int(i) for i in input().split(" ")]
 
ab = a == b
bc = b == c
ca = c == a
 
cnt = 0
for r in [ab, bc, ca]:
  if r:
    cnt += 1

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


N=int(input())
a = list(map(int,input().split()))
c=0
i=0
print(a)
while(c==0 and i<N):
    if(a[i]%2==0):
        if(a[i]%3==0 or a[i]%5==0):
            i+=1
        else:
            c+=1
    else:
        i+=1
if(c==0):
    print("APPROVED")
else:
    print("DENINED")


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

Verdicts: Runtime Error

Runtime Error

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

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


if A==B & B==C & C==A:
    print('NO')

elif A!=B & B!=C & 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')


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


if A==B & B==C & C==A:
    print('No')

elif A!=B & B!=C & C!=A:
    print('No')

else:
    print('Yes')


Verdicts: Wrong Answer

Wrong Answer

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

Submission attempts (in order):
A,B,C=map(int,input().split())
if A==B & B==C:
    print("no")
elif A!=B & B!=C & C!=A:
    print("no")
else:
    print("yes")


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


Verdicts: Wrong Answer

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

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

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

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: 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
import math
import itertools as it
def i():return int(sys.stdin.readline().replace("\n",""))
def i2():return map(int,sys.stdin.readline().replace("\n","").split())
def s():return str(sys.stdin.readline().replace("\n",""))
def l():return list(sys.stdin.readline().replace("\n",""))
def intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()]
def lx():return list(map(lambda x:int(x)*-1,sys.stdin.readline().replace("\n","").split()))
def t():return tuple(map(int,sys.stdin.readline().replace("\n","").split()))

if __name__ == "__main__":pass
n = i()
s = [input() for _ in range(n)]
s.sort()
ss = list(set(s))
ss.sort()
a = [0]*len(ss)
i = 0
j = 0
while n-1 > i:
    if s[i] == s[i+1]:
        a[j] += 1
        i += 1
    else:
        i += 1
        j += 1
m = max(a)
for k in range(len(a)):
    if m == a[k]:
        print(ss[k])


import sys
import math
def i():return int(sys.stdin.readline().replace("\n",""))
def i2():return map(int,sys.stdin.readline().replace("\n","").split())
def s():return str(sys.stdin.readline().replace("\n",""))
def l():return list(sys.stdin.readline().replace("\n",""))
def intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()]
def lx():return list(map(lambda x:int(x)*-1,sys.stdin.readline().replace("\n","").split()))
def t():return tuple(map(int,sys.stdin.readline().replace("\n","").split()))

if __name__ == "__main__":pass
a = intl()
a = list(set(a))
if len(a) == 2:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

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

Submission attempts (in order):
x = list(map(int, input().split()))
print(x)
x = sorted(x)
print(x)
if count(x[1]) == 2:
     print("Yes")
else:
     print("No")


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


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


x = list(map(int, input().split()))
print(x)
x = sorted(x)
print(x)
if x.count(x[1]) == 2:
     print("Yes")
else:
     print("No")


x = list(map(int, input().split()))
x = sorted(x)
if x.count(x[1]) == 2:
     print("Yes")
else:
     print("No")


Verdicts: Runtime Error

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

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

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

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
# coding: utf-8
# Your code here!
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("Yse")
else:
    print("No")

# coding: utf-8
# Your code here!
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

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

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

product_array = []

for i in range(n):
    for j in range(n - (i + 1)):
        product_array.append(array[i] * array[i + j + 1])

product_array.sort()

print(product_array[k - 1])



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

if (array[0] == array[1]) & (array[1] == array[2]) & (array[2] == array[0]):
    print('No')

elif (array[0] != array[1]) & (array[1] != array[2]) & (array[2] != array[0]):
    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=int(input())
b=int(input())
c=int(input())
if a==b:
    if b==c: 
        print('NO')
    else:
        print('YES')
elif b==c:
    if a==c: 
        print('NO')
    else:
        print('YES')
elif a==c:
    if b==c:
        print('NO')
    else:
        print('YES')
else:
    print('NO')



for case in range (int(input())):
    triple = input().split()
    for i in range (3):
        triple[i] = int(triple[i])
    triple.sort()
    if (triple [0] == triple [2]) :
        print('No')
    elif (triple[0] == triple [1] or triple[1] == triple [2]) :
        print('Yes')
    else:
        print('No')

n = list(map(int,input().split()))
n.sort()
a,b,c = n
flag = False
if a == b and c != a:
    flag = True
elif a == c and b != c:
    flag = True
elif b == c and a != b:
    flag = True
print ("Yes" if flag else "No")

Verdicts: Runtime Error

Runtime Error

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

Submission attempts (in order):
n = int(input())
s = [input() for _ in range(n)]

import collections
c0 = collections.Counter(s)
c1 = c0.most_common()
max = c1[0][1]
l = []
for x, i in c0.items():
    if i == max:
        l.append(x)
ans = sorted(l)
for i in ans:
    print(i)

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

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


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

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,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 A==B==C:
	print("No")
elif not A==B==C:
	print("No")
else:
	print("Yes")

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

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

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):
s=list(input().split())
print(len(set(s)))

s=list(input().split())
print("Yes" if len(set(s))==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):
# -*- coding: utf-8 -*-

# Input
from sys import stdin
A, B, C = [int(x) for x in stdin.readline().rstrip().split()]

# Proccess
kawaisou = ""
k = 0

if A == B:
	if A == C:
		k += 0
	else:
		k += 1

if B == C:
	if B == A:
		k += 0
	else:
		k += 1

if k == 1:
	kawaisou = "Yes"
else:
	kawaisou = "No"

# Output							
print(kawaisou)

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

# Input
from sys import stdin
A, B, C = [int(x) for x in stdin.readline().rstrip().split()]

# Proccess
kawaisou = ""
k = 0

if A == B:
	if A == C:
		k += 0
	else:
		k += 1

if B == C:
	if B == A:
		k += 0
	else:
		k += 1

if C == A:
	if C == B:
		k += 0
	else:
		k += 1

if k == 1:
	kawaisou = "Yes"
else:
	kawaisou = "No"

# Output							
print(kawaisou)

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

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

t = [a,b,c]
t.sort()

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
n = int(input())
s = [input() for _ in range(n)]
d = {}
for w in s:
    if w not in d:
        d[w] = 0
    d[w] += 1
d2 = sorted(d.items(), key=lambda x:x[1], reverse=True)
maxcnts = [w[0] for w in d2 if w[1] == d2[1]]
maxcnts.sort()
for ans in maxcnts:
    print(ans)

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


l=list(input().split())
if len(set(l))==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=map(int,input().split())
if A==B and B==C:
    print("No")
elif A!=B and B!=C:
    print("No")

else:
    print("Yes")

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

data=list(map(int,input().split()))
data.sort()
print(data)
ans="No"
if data[0]==data[1]:
    if data[1]==data[2]:
        ans="No"
    elif data[1]!=data[2]:
        ans='Yes'
elif data[0]!=data[1]:
    if data[1]==data[2]:
        ans="Yes"
print(ans)

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

ans="No"
if data[0]==data[1]:
    if data[1]==data[2]:
        ans="No"
    elif data[1]!=data[2]:
        ans='Yes'
elif data[0]!=data[1]:
    if data[1]==data[2]:
        ans="Yes"
print(ans)

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

N = input()
a = input()
mylist = list(map(int, a.split(" ")))
for i in range(N+1):
  if mylist[i] % 2 == 0:
    if mylist[i] % 3 != 0 and mylist[i] % 5 != 0:
      print("DENIED")
    else:
      return
  print("APPROVED")
      


myinput_H = input()
mylist = list(map(int, myinput_H.split(" ")))
A = mylist[0]
B = mylist[1]
C = mylist[2]
def check(a,b,c):
  if (a == b & b != c) or (a == c & b != c) or (b == c & b != a):
    print(Yes)
  else:
    print(No)

check(A,B,C)

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


mylist = list(map(int, myinput_H.split(" ")))
A = mylist[0]
B = mylist[1]
C = mylist[2]
def check(a,b,c):
  if (a == b & b != c) or (a == c & b != c) or (b == c & b != a):
    print(Yes)
  else:
    print(No)
    

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

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

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


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


Verdicts: Wrong Answer

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


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

def solve(a, b, c):
    if (a == b and a != c) or (b == c and a != c) or (c == a and a != b):
        print('Yes')
    else:
        print('No')



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

Verdicts: Wrong Answer

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

Submission attempts (in order):
N = int(input()) 
A = [int(input()) for i in range(N)] 
    
for i in A:
  B = i%2
  if B==0:
    if i%3 == i%5:
      print("APPROVED")
    else:
      print("DENIED")
  else:
    print("DENIED")

input()
a = [int(x) for x in input().split()]
    
for i in a:
  B = i%2
  if B==0:
    if i%3 == i%5 and i>=6:
      print("APPROVED")
    else:
      print("DENIED")
  else:
    print("DENIED")

N = int(input())
b = []
for i in range(N):
  a = int(input())
  b.append(a)
    
for i in b:
  B = i%2
  if B==0:
    if i%3 == i%5:
      print("APPROVED")
    else:
      print("DENIED")
  else:
    print("DENIED")

a,b,c = [int(x) for x in input().split()]
if (a == b and b!=c) or (a==c and a!=b) or (b==c and b!=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())

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

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

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

n = list(map(int,input().split()))
ans = 'No'
 
if len(set(n)) == 2:
  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):
def main():
    A, B, C = input().split()
    print(A,B,C)
    if A == B and B == C:
        print("No")
    else:
        print("Yes")

if __name__ == "__main__":
    main()

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

if __name__ == "__main__":
    main()

def main():
    A, B, C = input().split()
    if A == B and 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

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

cnt = 0

if A == B:
    cnt += 1
if B == C:
    cnt += 1
if C == A:
    cnt += 1
    
if cnt == 0 or 3:
    print('No')

if cnt == 1:
    print('Yes')

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

cnt = 0

if A == B:
    cnt += 1
if B == C:
    cnt += 1

if cnt == 0 or cnt == 2:
    print('No')
if cnt == 1:
    print('Yes')

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

cnt = 0

if A == B:
    cnt += 1
if B == C:
    cnt += 1
if C == A:
    cnt += 1
    
if cnt == 0 or cnt == 3:
    print('No')

if cnt == 1:
    print('Yes')

Verdicts: Wrong Answer

Wrong Answer

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

Submission attempts (in order):
N = input()
N = N.split()


def main():
    if (N[0] == N[1]) and (N[1] == N[2]):
        return True

    if (N[0] != N[1]) and (N[1] != N[2]):
        return True

    return False


print(main())

N = input()
N = N.split()


def main():
    if (N[0] == N[1]) and (N[1] == N[2]) and N[2] == N[0]:
        return 'No'

    if (N[0] != N[1]) and (N[1] != N[2]) and (N[0] != N[2]):
        return 'No'

    return 'Yes'


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

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

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

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

n=0

for i in range(0,3):
  if li[i+1] - li[i] ==0:
    n++

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



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

n=0

for i in range(0,2):
  if li[i+1] - li[i] ==0:
    n+=1
if li[2] - li[0] ==0:
  n+=1

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

Verdicts: Runtime Error

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

Submission attempts (in order):
A, B, C = [int(_) for _ in input().split()]
if A == B:
    if A == C:
        print("No")
    else:
        print("Yes")
else:
    if B == C:
        print("Yes")
    else:
        print("No")

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


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


Verdicts: Runtime Error

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

Submission attempts (in order):
import sys
N, K = list(map(int, input().split()))
A_N = list(map(int, input().split()))
B = []
b = 0
for i in range(N-1):
    for j in range(N-1):
        if i <= j:
            b = A_N[i] * A_N[j+1]
            B.append(b)
            b = 0
B = sorted(B)

print(B[K-1])




import sys
A, B, C = list(map(str, input().split()))

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


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


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


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


Verdicts: 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):
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 A == B and B == C 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):
N = int(input())
import collections
mylist = []
for i in range(N):
  val = input("")
  if val:
    mylist.append(val)
if len(mylist) != len(set(mylist)):
    c = collections.Counter(mylist)
    A = [i for i in range(len(set(mylist))) if c.most_common()[0][1] == c.most_common()[i][1]]
    B = [c.most_common()[i][0] for i in range(len(A))]
    C = sorted(B)
    for item in C:
        print(item)
else:
    D = sorted(mylist)
    for item in D:
            print(item)


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

Verdicts: Runtime Error

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

Submission attempts (in order):
a,b,c=[int(s) for s in input().split()]
if (a-b)*(b-c)*(c-a)==0:
  if (a-b)**2+(b-c)**2+(c-a)**2==0:
    print('No')
  else:
    print('No')
else:
  print('No')

a,b,c=[int(s) for s in input().split()]
if (a-b)*(b-c)*(c-a)==0:
  if (a-b)**2+(b-c)**2+(c-a)**2==0:
    print('No')
  else:
    print('Yes')
else:
  print('No')


Verdicts: Wrong Answer

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

Submission attempts (in order):
a, b, c = int(intput())
if(a=b||a=c||b=c):
  return yes
elif(a=b=c):
  return no
else: 
  return no

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

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
def solve():
    A = list(map(int,input().split()))
    print(A)
    for i in range(3):
        if sum(x==A[i] for x in A) == 1:
            continue
        elif sum(x==A[i] for x in A) ==2:
            print("Yes")
            return
    print("No")

solve()

    A = list(map(int,input().split()))
    print(A)
    for i in range(3):
        if sum(x==A[i] for x in A) == 1:
            continue
        elif sum(x==A[i] for x in A) ==2:
            print("Yes")
            return
    print("No")


A = list(map(int,input().split()))
for i in range(3):
    if sum(x==A[i] for x in A) == 1:
        continue
    elif sum(x==A[i] for x in A) ==2:
        print("Yes")
        return
print("No")


def solve():
    A = list(map(int,input().split()))
    for i in range(3):
        if sum(x==A[i] for x in A) == 1:
            continue
        elif sum(x==A[i] for x in A) ==2:
            print("Yes")
            return
    print("No")


def solve():
    A = list(map(int,input().split()))
    for i in range(3):
        if sum(x==A[i] for x in A) == 1 or sum(x==A[i] for x in A) == 3:
            continue
        elif sum(x==A[i] for x in A) ==2:
            print("Yes")
            return
    print("No")

solve()

Verdicts: Wrong Answer

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())
S=[]
for i in range(N):
    S.append(input())
ans=[]

#
while len(S):
    if len(S)==1:
        x = [S.pop(-1), 1]
        ans.append(x)
        break
    x = [S.pop(-1), 1]
    for i in S[:]:
        if x[0] == i:
            S.remove(i)
            x[1]+=1
    ans.append(x)
ans.sort()
ans.sort(key=lambda x:x[1],reverse=True)

for i in range(len(ans)):
    t=ans[0][1]
    if ans[i][1]==t:
        print(ans[i][0])


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

if (A is B and B is C) or (A is not B and B is not C and C is not 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 = list(map(int,input().split()))
n.sort()
if n[0]==n[1] and n[1]!=n[2]:
    print("YES")
elif n[0]!=n[1] and n[1]==n[2]:
    print("Yes")
else:
    print("No")

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

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

t=set(map(int,input().split()))
if(len(t)==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 && B==C && A==C:
    print("No")

elif A!=B && B!=C && A!=C:
    print("No")

else :
    print("Yes")

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

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

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

else :
    print("Yes")

Verdicts: Runtime Error

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

Submission attempts (in order):
# -*- coding: utf-8 -*-

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


print(A,B,C)


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



print("{}".format(ans))

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

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


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



print(ans)

Verdicts: Wrong Answer

Accepted