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

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

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

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

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

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

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

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

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

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

Verdicts: Wrong Answer

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

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

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

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

dicdata = collections.Counter(data)

m = max(dicdata.values())

newdata = [k for k, v in dicdata.items() if v == m]

newdata.sort()

[print(i) for i in newdata]


import numpy as np

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

if (a == b or a == c or b == c) and not(a == 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):
N = int(input())
A = sorted(map(int, input().split())) 

A_even = [i for i in A if i % 2 == 0]

A_even_35 = [i for i in A_even if i % 3 != 0and i%5!=0]
if len(A_even_35)==0:
  print("APPROVED")
else:
  print("DENIED")

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

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


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

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


Verdicts: Wrong Answer

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

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

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

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

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

x=input()
y=x.split()

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

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

x=input()
y=x.split()

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

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

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

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


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

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


Verdicts: Wrong Answer

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

Submission attempts (in order):
def contest(val):
    a_str, b_str, c_str = val.split(' ')

    a = int(a_str)
    b = int(b_str)
    c = int(c_str)

    if a == b & b == c:
        return 'no'
    elif a == b:
        return 'yes'
    elif b == c:
        return 'yes'
    elif a == c:
        return 'yes'
    else:
        return 'no'


if __name__ == "__main__":
    val = input()

    print(contest(val))


def contest(val):
    a_str, b_str, c_str = val.split(' ')

    a = int(a_str)
    b = int(b_str)
    c = int(c_str)

    if a == b & b == c:
        return 'No'
    elif a == b:
        return 'Yes'
    elif b == c:
        return 'Yes'
    elif a == c:
        return 'Yes'
    else:
        return 'No'


if __name__ == "__main__":
    val = input()

    print(contest(val))


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

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

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

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

j = int(input())
i = list(map(int, input().split()))
l=0
for k in range(j):
    if i[k]%2==0:
        if i[k]%3!=0 and i[k]%5!=0:
            print('DENIED')
            l=1
            break
if l == 0:
    print('APPROVED')

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

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

a, b, c = map(int, input().split())
if (a != b and b != c and a!= c) or (a == b == 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())
Data = list(map(int,input().split()))
ans = True
for data in Data:
    if data % 2 == 0:
        if data % 3 == 0 or data % 5 == 0:
            pass
        else:
            ans = False
            break
if ans:
    print('APPROVED')
else:
    print('DENIED')


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

Verdicts: Runtime Error

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

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

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


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

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


Verdicts: Wrong Answer

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

Submission attempts (in order):
print('No')

print('Yes' if len(set(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 or B=C or C=A)and not(A=B=C):
  print('Yes')
else:
  print('No')

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

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

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

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 or B=C or C=A:
  print('Yes')
else:
  print('No')

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

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

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

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

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

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

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

tmp=sorted(num)

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

num=input().split()

tmp=sorted(num)

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

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
a,b,c = input().split(' ')
l = []
l.append([a,b,c])
n=len(set(l))
if n == 2:
  print('Yes')
else:
  print('No')


a,b,c = input().split(' ')
l = []
l.append(a)
l.append(b)
l.append(c)
l = set(l)
n=len(l)
if n == 2:
  print('Yes')
else:
  print('No')


Verdicts: Runtime Error

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

Submission attempts (in order):
import math

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

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

import math

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

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):
print("YNeos"[len(set(map(int,open(0))))!=2::2])

print("YNeos"[len(set(map(int,input().split())))!=2::2])

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 = input().split()
print( "Yes" (len(set(l)) == 2) else "No")

l = input().split()
print( "Yes" if (len(set(l)) == 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 = input().split()
A = int(A)
B = int(B)
C = int(C)
if A == B == C :
    print('Yes')
else :
    print('No')

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

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

Verdicts: Wrong Answer

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

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

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


Verdicts: 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())
A = [input() for i in range(N)]

B = Counter(A)


max = [kv for kv in B.items() if kv[1] == max(B.values())]

for i in reversed(max):
    print(i[0])

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

if(A == B):
    if(A != C):
        print("Yes")
    else:
        print("No")
else:
    if(A != C):
        if(B == C):
            print("Yes")
        else: 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):
if len(set(map(int, inputs[0].split()))) == 2:
    print('Yes')
else:
    print('No')

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

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

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

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

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

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


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

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
import os, sys, re, math

(A, B, C) = [int(n) for n in input().split()]

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


import os, sys, re, math

(A, B, C) = [int(n) for n in input().split()]

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

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

Verdicts: Runtime Error

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

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

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

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

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

count = 1
li = []

for index, a in enumerate(A):
  for b in range(count, len(A)):
    li.append(a * A[b])

  count += 1

li.sort()

print(li[K-1])

import sys

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

ans = 'Yes'

a = [A, B, C]

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

Verdicts: Runtime Error

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

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

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

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

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

n, k = map(int, input().split())
lst = [int(x) for x in input().split()]
newLst = []

for i in range(n-1):
    for j in range(i+1, n):
        newLst.append(lst[i]*lst[j])

newLst = sorted(newLst)
print(newLst[k-1])

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

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

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
from collections import OrderedDict


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


c = OrderedDict(collections.Counter(S))
ln = len(c.values())


d = OrderedDict(sorted(c.items(), key = lambda x : x[1], reverse=True))
dval = list(d.values())
dkey = list(d.keys())


word = list()
word.append(dkey[0])
i=1
if ln>1:
    while dval[i-1]==dval[i]:
        word.append(dkey[i])
        i+=1
        if i==ln:
            break


dic = sorted(word)


for i in range(len(dic)):
    print(dic[i])

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

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

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

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

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

Submission attempts (in order):
k=list(map(int,input().split())))
from collections import Counter
l=Counter(k)
if len(l)==2:
  print("Yes")
else:
  print("No")
  
  

k=list(map(int,input().split()))
from collections import Counter
l=Counter(k)
if len(l)==2:
  print("Yes")
else:
  print("No")
  
  

Verdicts: Runtime Error

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

Submission attempts (in order):
import numpy as np
from operator import itemgetter

N=int(input())
List=[str(input()) for i in range(N)]
SetList=list(set(List))
nc=[List.count(SetList[i]) for i in range(len(SetList))]

indexmax=np.where(np.array(nc) == np.array(nc).max())[0]
if(len(indexmax)==1):
    print(itemgetter(*indexmax)(SetList))
else:
    for i in sorted(itemgetter(*indexmax)(SetList)):
        print(i) 


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

Verdicts: Runtime Error

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

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

A,B,C=map(int,input().split())
if (A==B + B==C + C==A) ==1:
  print("Yes")
else:
  print("No")

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

Verdicts: Runtime Error

Wrong Answer

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

Submission attempts (in order):
 A = 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: Runtime Error

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

Submission attempts (in order):
a,b,c = map(int,input().split(" "))
if a == b:
    if a == c:
        print("No")
    else:
        print("Yes")
else
    if b == c:
        print("Yes")
    else:
        if a == 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 b == c:
        print("Yes")
    else:
        if a == c:
            print("Yes")
        else:
            print("No")

Verdicts: Runtime Error

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

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

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

import numpy as np

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

B = []
for i in range(N):
    for j in range(N):
        if i>j:
            B.append(np.dot(A[i], A[j]))

B.sort()
print(B[K-1])

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

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

Verdicts: Wrong Answer

Runtime Error

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

Submission attempts (in order):
a,b,c=map(int,input().split());print('YNeos'[a==b==c or a!=b!=c::2])

a,b,c=map(int,input().split());print('YNeos'[a==b==c or a!=b!=c!=a::2])

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

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

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

if a == b != c or b == c != a or a == 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):
N = int(input())
mydict = {}
for i in range(N):
  t = input()
  if t in mydict:
    mydict[t]+=1
  else:
    mydict[t] = 1
max_k_list = [kv[0] for kv in mydict.items() if kv[1] == max(mydict.values())]
max_k_list.sort()
for i in max_k_list:
  print(i)

line = input().split(' ')
k = set(line)
if len(k) == 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):
if a[0] == a[1] == a[2]: print("No")
elif a[0] == a[1] or a[1] == a[2]: print("Yes")
else: print("No")

a = [int(x) for x in input().split()]
a.sort()
if a[0] == a[1] == a[2]: print("No")
elif a[0] == a[1] or a[1] == a[2]: print("Yes")
else: print("No")

Verdicts: Runtime Error

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

Submission attempts (in order):
n, k = [int(x) for x in input().split()]
nums = [int(x) for x in input().split()]
nums.sort()
if 0 in nums:
  index = nums.index(0)
  if index == 0:
    print(nums[1] * nums[k]
    break
  if index == n-1:
    print(nums[-2] * nums[-k - 1]
  else:
      num_neg = index
      num_pos = n - index
      if k < num_neg * num_pos:
          s = k // num_pos
          f = k % num_pos
          if f == 0:
              print(nums[-s] * nums[index+1])
          else:
              print(nums[-s-1] * nums[-f-1])
      else:
          new_list = nums[index:] + [-x for x in nums[:inedex]]
          new_list.sort()
          print(new_list[1] * new_list[k]
else:
    l, h = 0, n - 1
    while l < h:
        m = (l+h) // 2
        if nums[m] >= 0:
            h = m
        else:
            l = m + 1
        index = l
    num_neg = index
    num_pos = n - index
    if k < num_neg * num_pos:
        s = k // num_pos
        f = k % num_pos
        if f == 0:
            print(nums[-s] * nums[index+1])
        else:
            print(nums[-s-1] * nums[-f-1])
    else:
        new_list = nums[index:] + [-x for x in nums[:inedex]]
        new_list.sort()
        print(new_list[0] * new_list[k-1]

n = int(input())
d = {}
for i in range(n):
  s = input()
  if s not in d:d[s] = 0
  d[s] += 1
max_cnt = sorted(d.items(), key=lambda tp:tp[1])[-1][1]
a1 = filter(lambda tp:tp[1] == max_cnt, d.items())
a2 = map(lambda tp:tp[0], a1)
for s in sorted(a2):
  print(s)


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

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

Verdicts: Runtime Error

Runtime Error

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

Submission attempts (in order):
a=list(map(int,input().split()))
b=set(a)
print('No' if len(a)-len(b)==1 else 'Yes')


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


Verdicts: Wrong Answer

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

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

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

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

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

Verdicts: Wrong Answer

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

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

A, B, C =[int(x) for x in case.split(' ')]
if (A == B and A != C) or(B == C and A != C) or (A == C and A != C):
    print('Yes')
else:
    print('No')


case = input()

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

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

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

Verdicts: Wrong Answer

Runtime Error

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

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

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

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

Verdicts: Runtime Error

Wrong Answer

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

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

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
i=input().split()
a=i[0]
b=i[1]
c=i[2]
if(a==b and b==c):
 print("YES")
else:
 print("NO")

i=input().split()
a=i[0]
b=i[1]
c=i[2]
if(a==b and b==c):
 print("Yes")
else:
 print("No")

i=input().split()
a=i[0]
b=i[1]
c=i[2]
if((a==b and b!=c) or (b==c and c!=a) or (a==c and c!=b)):
 print("YES")
else:
 print("NO")

i=input().split()
a=i[0]
b=i[1]
c=i[2]
if((a==b and b!=c) or (b==c and c!=a) or (a==c and c!=b)):
 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):
num = [map(int, input().split())]

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

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


Verdicts: Wrong Answer

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

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

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




Verdicts: Runtime Error

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

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

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

x,y,z = input.split()
if x = y:
  if y = z:
    print('No')
  else print('Yes')
if y = z:
  if x = z:
    print('No')
  else print('Yes')
if x = z:
  if x = y:
    print('No')
  else print('Yes')

x, y, z = input().split()
a = "No"
if x != y:
    if x == z:
        a = "Yes"
    elif y == z:
        a = "Yes"
    else:
        a = "No"
if x == y:
    if x == z:
        a = "No"
    elif y == z:
        a = "No"
    else:
        a = "Yes"
print(a)

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 i in range(n)]

l = [s.count(i) for i in s]
d = {i:j for i,j in zip(s, l)}
m = max(l)

d = {i:j for i, j in zip(s, l)}
ans = [i for i in d if d[i] == m]
sorted(ans)

for i in ans:
    print(i)

a = {int(i) for i in input().split()}
if len(a) == 2:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

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

Submission attempts (in order):
a = input()
for i in  a:
    b = [j for j in a if i == j]
    if len(b) == 2:
        print("Yes")
    else:
    	print("No")

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):
from collections import Counter

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

c = Counter(Poors)

if 1 in list(c.values()) and len(list(c.values()))==3:
    print('Yes')
else:
    print('No')

from collections import Counter

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

c = Counter(Poors)

if 1 in list(c.values()) and 2 in list(c.values()):
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

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

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

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

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

Verdicts: Wrong Answer

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

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

value = 0

if a == b:
    value = value + 1

if a == c:
    value = value + 1

if b == c:
    value = value + 1

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


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

value = 0

if a == b:
    value = value + 1

if a == c:
    value = value + 1

if b == c:
    value = value + 1

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

Verdicts: Wrong Answer

Accepted