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

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

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

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

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

n = int(input())

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

for A in range(n):
    if A%3==0 or A%5==0:
        print("APPROVED")
    else:
        print("DENIED")

n = int(input())

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

for A in range(n):
    if A == A/3 or A == A/5:
        print("APPROVED")
    else:
        print("DENIED")

n = int(input())

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

n = int(input())

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

for A in range(n):
    if A == A//3 or A == A//5:
        print("APPROVED")
    else:
        print("DENIED")

n = int(input())

for A in range(n):
    A = list(map(int, input().split()))
        if A % 3 == 0 or A % 5 == 0:
            print("APPROVED")
        else:
            print("DENIED")

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

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

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

if L[0] == L[1] == L[2]:
    print("no")
else:
    print("yes")

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

if A==B==C:
    print("no")
else:
    print("yes")

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

for i in range(n):
    if A[i]%2 == 0 and A[i]%3 != 0:
        print('DENIED')
    elif A[i]%2 == 0 and A[i]%5 != 0:
        print('DENIED')
    else:
        print('APPROVED')

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

if L[0]==L[1]==L[2]:
    print("no")
else:
    print("yes")

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

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

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

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

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

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

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Accepted