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):
N=int(input())
i=list(map(int,input().split()))
a=0
for x in range(N):
    if i[x]%2==0:
        if i[x]%3!=0:
            if i[x]%5!=0:
                x+=1
if a==0:
    print("APPROVED")
else:
    print("DENIED")

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

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

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

a = l[0]
b = l[1]
c = l[2]

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

l = input().split

a = l[0]
b = l[1]
c = l[2]

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

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


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

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


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


Verdicts: Wrong Answer

Runtime Error

Wrong Answer

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

Submission attempts (in order):
i = [int(x) for x in input().split()]
 
if i[0]==i[1]:
  if i[1]!=i[2]:
    print("YES")
  else:
    print("NO")
elif i[0]==i[2]:
  print("YES")
elif i[1]==i[2]:
  print("YES")
else:
  print("NO")

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

if i[0]==i[1]:
  if i[1]!=i[2]:
    print("YES")
  else:
    print("NO")
elif i[0]==i[2]:
  print("YES")
elif i[1]==i[2]:
  print("YES")
else:
  print("NO")

a, b, c = input().split(" ")
a = int(a)
b = int(b)
c = int(c)
 
if a==b:
	if a!=c:
		print("YES")
	else:
		print("NO")
elif a==c:
  print("YES")
elif b==c:
  print("YES")
else:
  print("NO")

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

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

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

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

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

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


if __name__ == '__main__':
    x, y, z = (int(x) for x in input().split())
    if x == y == z:
        print('No')
    elif x == y or y == z or x == z:
        print('Yes')
    else:
        print('No')

Verdicts: Wrong Answer

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

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

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
import sys
import collections
n = int(input())
li=[input() for _ in range(n)]
c = collections.Counter(li)
max_list = [kv[0] for kv in c.items() if kv[1] == max(c.values())]
max_list.sort()
for s in max_list:
  print(s)

import collections
n = int(input())
li=[input() for _ in range(n)]
c = collections.Counter(li)
max_list = [kv[0] for kv in c.items() if kv[1] == max(c.values())]
max_list.sort()
for s in max_list:
  print(s)

import sys
li = list(map(int,input().split()))
li.sort()
if(str(li[0]) == str(li[1]) == str(li[2])):
  print("No")
  sys.exit()
if(str(li[0]) != str(li[1]) != str(li[2])):
  print("No")
  sys.exit()
for i in range(3):
  if(str(li[i]) == str(li[i+1])):
    print("Yes")
    break

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):
stdin = open(0)
A, B, C = map(int, stdin.read().split())
for _ in range(3):
    A, B, C = B, C, A
    if A == B != C:
        print("Yes")
else:
    print("No")

stdin = open(0)
A, B, C = map(int, stdin.read().split())
for _ in range(3):
    A, B, C = B, C, A
    if A == B != C:
        print("Yes")
        break
else:
    print("No")

Verdicts: Wrong Answer

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

Submission attempts (in order):
S = list(map(int,input().split())
print("Yes" if len(set(S))==2 else "No")

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

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

a,b,c=input().split()
ans="Yes"
if a!=b and b!=c and c!=a:
  ans="No"
if a==b==c:
  ans="No"

a,b,c=input().split()
ans="Yes"
if a!=b and b!=c and c!=a:
  ans="No"
if a==b==c:
  ans="No"
print(ans)

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

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

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

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

Accepted
Problem: A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers.  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())
i = 0
if a == b and b != c:
  i = 1
elif a != b and b == c:
  i = 1

print('Yes' if i else 'No')

a, b, c = map(int, input().split())
d = set([a,b,c])
if len(d) == 1:
  print('Yes')
else:
  print('No')

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

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


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

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

Submission attempts (in order):
A = input()
if A[0] != A[2] == A[4] or A[2] != A[4] == A[0] or A[0] != A[4] == A[2]:
    input('Yes')
else:
    input('No') 

N = int(input())
Af = list(map(int,input().split()))
A = list()
for i in range(N):
  if Af[i] % 2 == 0:
      A.append(Af[i])
      continue
  else:
      continue
for i in range(len(A)):
  if A[i] % 3 != 0 and A[i] % 5 != 0:
      print('DENIED')
      import sys
      sys.exit()
  if A[i] % 3 == 0 or A[i] % 5 == 0:
      continue 
print('APPROVED')

A = input()
if A[0] != A[2] == A[4] or A[2] != A[4] == A[0] or A[4] != A[0] == A[2]:
    input('Yes')
else:
    input('No')

A = input()
if A[0] != A[2] == A[4] or A[2] != A[4] == A[0] or A[4] != A[0] == A[2]:
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Runtime Error

Runtime Error

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

Submission attempts (in order):
a=int(input().split(" "))
a1,a2,a3=int(a[0]),(a[1]),int(a[2])
ans="No"
if a1!=a2 and (a1==a3 or a2==a3):
  ans="Yes"
if a1!=a3 and (a1==a2 or a2==a3):
  ans="Yes"
if a2!=a3 and (a1==a2 or a1==a3):
  ans="Yes"

a=int(input().split(" "))
a1,a2,a3=int(a[0]),int(a[1]),int(a[2])
ans="No"
if a1!=a2 and (a1==a3 or a2==a3):
  ans="Yes"
if a1!=a3 and (a1==a2 or a2==a3):
  ans="Yes"
if a2!=a3 and (a1==a2 or a1==a3):
  ans="Yes"
  
print(ans)

a=int(input().split(" "))
a1,a2,a3=int(a[0]),(a[1]),int(a[2])
ans="No"
if a1!=a2 and (a1==a3 or a2==a3):
  ans="Yes"
if a1!=a3 and (a1==a2 or a2==a3):
  ans="Yes"
if a2!=a3 and (a1==a2 or a1==a3):
  ans="Yes"
  
print(ans)

a=input().split(" ")
a1,a2,a3=int(a[0]),int(a[1]),int(a[2])
ans="No"
if a1!=a2 and (a1==a3 or a2==a3):
  ans="Yes"
if a1!=a3 and (a1==a2 or a2==a3):
  ans="Yes"
if a2!=a3 and (a1==a2 or a1==a3):
  ans="Yes"
  
print(ans)

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):
import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
A,B,C = map(int, readline().split())
if (A == B and B != C) or (B == C and C != A)  (A == C and C != B):
    print('Yes')
else:
    print('No')

import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
A,B,C = map(int, readline().split())
if (A == B and B != C) or (B == C and C != A) or (A == C and C != B):
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

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

Submission attempts (in order):
import collections

N = int(input())

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

result = collections.Counter(S)

result_max = sorted([i for i in result.keys() if result[i] == max(result.values())])

for r in result_max:
    print(r)

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

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

Verdicts: Runtime Error

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

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

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


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


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


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


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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

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

Submission attempts (in order):
a,b,c=map(int,input().split())
d=a-b
e=a-c
f=b-c
if d*e*f==0 and (d+e+f!=0):
    print("Yes")
else:
    print("No")


a,b,c=map(int,input().split())
d=a-b
e=a-c
f=b-c
if d*e*f==0 and (a!=b or b!=c or c!=a):
    print("Yes")
else:
    print("No")


Verdicts: Wrong Answer

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

Submission attempts (in order):
import sys #sys.stdin.readline()
import heapq #heap
from collections import defaultdict
fastinp = lambda: sys.stdin.readline().split(' ')[0].split('\n')
inp = lambda: input().split(' ')
ml = lambda x, y=int: list(map(y, x))
debug = lambda *args: print(*args, sep=' | ')
n = int(fastinp()[0])
hmap = defaultdict(int)
for i in range(n):
    hmap[fastinp()[0]] += 1
m = 0
for k, v in hmap.items():
    m = max(m, v)
list = []
for k, v in hmap.items():
    if v == m:
        list.append(k)
print(*sorted(list), sep='\n')


import sys #sys.stdin.readline()
import heapq #heap
from collections import defaultdict
fastinp = lambda: sys.stdin.readline().split(' ')
inp = lambda: input().split(' ')
ml = lambda x, y=int: list(map(y, x))
debug = lambda *args: print(*args, sep=' | ')
a, b, c = ml(inp())
if a == b and a != c:
    print('Yes')
elif b == c and a != b:
    print('Yes')
elif a == c and b != a:
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

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

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

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

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

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

Verdicts: Wrong Answer

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

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

S=set(A,B,C)

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

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

S=set{A,B,C}

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

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

S={A,B,C}

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

Verdicts: Runtime Error

Runtime Error

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

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

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

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

Verdicts: 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 = input()

if len(set([a, b, c])) == 2:
  print("yes")
else:
  print("No")

a, b, c = input()

if len(set(a, b, c)) == 2:
  print("yes")
else:
  print("No")

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

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

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


Verdicts: Wrong Answer

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

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

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

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

if (A==B and B!=C) or (A==C and C!=B) or (C==B 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 = map(int, input().split())

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

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

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

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

a,b,c = input().split()
if a==b and c != b and c != a:
  print('Yes')
elif b==c and a != b and a != c:
  print('Yes')
elif c==a and b != a and 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())
kawaiso = 0 
if a==b && a!=c:
    kawaiso = 1

else if b==c && b!=a :
    kawaiso = 1

else if c==a && c!=b :
    kawaiso = 1
else :
    kawaiso = 0

if kawaiso == 1 :
    print ('yes')

else :
    print('No')


a, b, c= map(int, input().split())
kawaiso = 0 
if a==b && a!=c:
    kawaiso = 1

if b==c && b!=a :
    kawaiso = 1
]
if c==a && c!=b :
    kawaiso = 1

if kawaiso == 1 :
    print ('yes')

else :
    print('No')


a, b, c= map(int, input().split())
kawaiso = 0 
if a==b && a!=c:
    kawaiso = 1

if b==c && b!=a :
    kawaiso = 1

if c==a && c!=b :
    kawaiso = 1
else :
    kawaiso = 0
    
if kawaiso == 1 :
    print ('yes')

else :
    print('No')


a, b, c= map(int, input().split())
kawaiso = 0 
if a==b && a!=c:
    kawaiso = 1

if b==c && b!=a :
    kawaiso = 1

if c==a && c!=b :
    kawaiso = 1

if kawaiso == 1 :
    print ('yes')

else :
    print('No')


a, b, c= map(int, input().split())
kawaiso = 0 
if a==b && a!=c [
    kawaiso = 1
]
if b==c && b!=a [
    kawaiso = 1
]
if c==a && c!=b [
    kawaiso = 1
]
if kawaiso == 1 [
    print (yes)
]
else [
    print(No)
]


a, b, c= map(int, .input().split())
kawaiso = 0 
if a==b and a!=c:
    kawaiso = 1
 
 else if  b==c and b!=a :
    kawaiso = 1
 
 else if c==a and c!=b :
    kawaiso = 1

if kawaiso == 1 :
    print ('Yes')
    
    else :
      print('No')

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

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

Submission attempts (in order):
ABC = set(input().split())
print('yes' if len(ABC) == 2 else 'No')

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


A, B, C = int(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

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

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

if a==b==c:
  print('No')
elif 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):
from sys import stdin

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]

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

from sys import stdin

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]

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


from sys import stdin

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]

if (a == b or b == c or c == a) and not (a == b == c):
    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):
line = input()
numbs = [int(v.strip()) for v in line.split()]

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




line = input()
numbs = [int(v.strip()) for v in line.split()]


def get_status(numb1, numb2, numb3):

    if numb1 == numb2 and numb2 ==  numb3:
        return "Yes"
    return "No"


print(get_status(numbs[0], numbs[1], numbs[2]))




line = input()
numbs = [int(v.strip()) for v in line.split()]


def is_equal(numb1, numb2):
    return numb1 == numb2

numb1, numb2, numb3 = numbs
res = sum([is_equal(numb1, numb2), is_equal(numb1, numb3), is_equal(numb2, numb3)])

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


Verdicts: Wrong Answer

Wrong Answer

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

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

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


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

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


Verdicts: Wrong Answer

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

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

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

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
A = map(int, input().split())
print("Yes" if set(A) == 2 else "No")

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

Verdicts: Wrong Answer

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

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


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


Verdicts: Wrong Answer

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

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

a,b,c=input().split()
print("YNeos"[sum((a==b,b==c,c==a))!=1::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):
a,b,c = map(int,input().split())
if(A == B && A != C):
    print('Yes')
elif(A == C && A != B):
    print('Yes')
elif(C == B && A != B):
    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(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):
def check(input_list):
    kawaiso = False
    a = input_list[0]
    b = input_list[1]
    c = input_list[2]

    if((a == b or a == c or b == c) and not(a == b and b == c)):
        kawaiso = True

    return kawaiso

if __name__ == '__main__':
    input_list = input().split()
            
    if check(input_list):
        print("yes")
    else:
        print("no")


def check(input_list):
    kawaiso = False
    a = input_list[0]
    b = input_list[1]
    c = input_list[2]

    if((a == b or a == c or b == c) and not(a == b and b == c)):
        kawaiso = True

    return kawaiso

if __name__ == '__main__':
    input_list = input().split()
            
    if check(input_list):
        print("yes")
    else:
        print("no")
        





def check(input_list):
    kawaiso = False
    a = input_list[0]
    b = input_list[1]
    c = input_list[2]

    if((a == b or a == c or b == c) and not(a == b and b == c)):
        kawaiso = True

    return kawaiso

if __name__ == '__main__':
    input_list = input().split()
            
    if check(input_list):
        print("yes")
    else:
        print("no")
		

def check(input_list):
    if(input_list.count(input_list[0]) == 2 or input_list.count(input_list[1]) == 2):
        return True
    else:
        return False

if __name__ == '__main__':
    input_list = input().split()
            
    if check(input_list):
        print("yes")
    else:
        print("no")
        




def check(input_list):
    if(input_list.count(input_list[0]) == 2 or input_list.count(input_list[1]) == 2):
        return True
    else:
        return False

if __name__ == '__main__':
    input_list = input().split()
            
    if check(input_list):
        print("Yes")
    else:
        print("No")
		

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

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

Submission attempts (in order):
import numpy as np
N,K = map(int,input().split())
a = np.array(input().split(),np.int64)
a = np.sort(a)
zero = a[a==0]
pos = a[a>0]
neg = a[a<0]

def f(x):
    count = 0
    c = x // pos
    count += np.searchsorted(a, c, side='right').sum()
    count += N*len(zero) if x >= 0 else 0
    c = -(-x // neg)
    count += (N - np.searchsorted(a, c, side='left')).sum()
    count -= a[a*a <= x].size
    count //= 2
    return count

right = 10**18
left = -10**18
while right-left>1:
    mid = (right + left)//2
    if f(mid)<K:
        left = mid
    else:
        right = mid
        
print(int(right))

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

if A == B:
  if A == C:
    print('NO')
  else:
    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:
  if A == C:
    print('No')
  else:
    print('Yes')
elif A == C:
  print('Yes')
elif B == C:
  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):
if len(set(list(map(int, input())))) == 2:
  print("Yes")
else:
  print("No")

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

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

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

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

else:
    print("NO")

N = int(input())
A = list(map(int,input().split()))
B = list((i for i in A if i % 2 == 0))

count = 0

for i in B:
    if i%3 == 0 or i%5 == 0:
        count += 1
    else:
        count += 0

if int(count) == int(len(B)):
    print("APROVED")
else:
    print("DENIED")

A = list(map(int,input().split()))
A_unique = list(set(A))
A_length = len(A_unique)

if A_length == 2:
    print("YES")

else:
    print("NO")

A = list(map(int,input().split()))
A_unique = list(set(A))
A_length = len(A_unique)

if A_length == 2:
    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 = input().split()

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


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

if a == 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)

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

for i in range(n):
  if not a[i] % 2 != 0 or (a[i] % 3 == 0 or a[i] % 5 == 0):
    print("DNIED")
    exit()
else:
  print("APPROVED")


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

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

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

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

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

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

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

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

a = input()
if a[0] == a[1] and a[1] == a[2]:
  print('No')
elif a[0] != a[2] and (a[1] != a[2] and a[1] != a[0]):
  print('No')
else:
  print('Yes')

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

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=1<<1000000000

a=1<<1000000000
b = 1<<a
print(b)

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

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

Verdicts: Wrong Answer

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

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

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

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

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

Verdicts: Runtime Error

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

Submission attempts (in order):
a=list(map(int,input().split()))
import test
test.solve(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):
import sys

if __name__ == '__main__':
  args = sys.argv
  ret="No"
  
  if (args[1] == args[2] || args[2] == args[3] || args[1] == args[3]):
    ret="Yes"
    
  print(ret)

import sys
 
if __name__ == '__main__':
  args = sys.argv
  ret="No"
  
  if (args[1] == args[2] | args[2] == args[3] | args[1] == args[3]):
    ret="Yes"
    
  print(ret)

import sys
 
if __name__ == '__main__':
  args = sys.argv
  ret="No"
  
  if (args[1] == args[2] or args[2] == args[3] or args[1] == args[3]):
    ret="Yes"
    
  print(ret)


import sys
 
if __name__ == '__main__':
  args = input().split()
  ret="No"
  if ((args[0] == args[1] or args[0] == args[2] or args[1] == args[2]) and (args[0] != args[1] or args[1] != args[2])):
    ret="Yes"
    
  print(ret)

Verdicts: Runtime Error

Runtime Error

Runtime Error

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

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

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


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

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


Verdicts: 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):
num = [x for x in input()]
ans = 0
if num[0] == num[1]:
  ans = ans + 1
if num[0] == num[2]:
  ans = ans + 1
if num[1] == num[2]:
  ans = ans + 1

if ans == 1:
  print('Yes')
else:
  print('No')

num = [x for x in input().split()]
print(num)
ans = 0
if num[0] == num[1]:
  ans = ans + 1
if num[0] == num[2]:
  ans = ans + 1
if num[1] == num[2]:
  ans = ans + 1

if ans == 1:
  print('Yes')
else:
  print('No')


num = [x for x in input().split()]
ans = 0
if num[0] == num[1]:
  ans = ans + 1
if num[0] == num[2]:
  ans = ans + 1
if num[1] == num[2]:
  ans = ans + 1

if ans == 1:
  print('Yes')
else:
  print('No')


Verdicts: Wrong Answer

Wrong Answer

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

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

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

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(input(A,B,C))

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

    if A == B and B == C:
        print('No')
        return

    if A != B and B != C:
        print('No')
        return

    print('Yes')


resolve()


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

    if A == B and B == C:
        print('No')
        return

    if A == B or B == C:
        print('Yes')
        return

    print('No')


resolve()


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

    if A == B and B == C:
        print('No')
        return

    if A != B and B != C:
        print('No')
        return

    if A < 10 and B < 10 and C < 10:
        print('Yes')
        return

    print('No')


resolve()


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

    if A == B and B == C:
        print('No')
        return

    if A == B or B == C or A == C:
        print('Yes')
        return

    print('No')
    

resolve()

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

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

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

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

Verdicts: Wrong Answer

Accepted