Problem:


Score: 100 points

Problem Statement

A triple of numbers is said to be poor when two of those numbers are equal but the other number is different from those two numbers.

You will be given three integers A, B, and C. If this triple is poor, print Yes; otherwise, print No.

Constraints

A, B, and C are all integers between 1 and 9 (inclusive).

Input

Input is given from Standard Input in the following format:

A B C

Output

If the given triple is poor, print Yes; otherwise, print No.

Sample Input 1

5 7 5

Sample Output 1

Yes

A and C are equal, but B is different from those two numbers, so this triple is poor.

Sample Input 2

4 4 4

Sample Output 2

No

A, B, and C are all equal, so this triple is not poor.

Sample Input 3

4 9 6

Sample Output 3

No

Sample Input 4

3 3 4

Sample Output 4

Yes



Sample input:
5 7 5


Sample output:
Yes

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
print(["No","Yes"][len(set(input().split()))==3])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
l.sort()
if l[0]==l[1] and l[1] != l[2]:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
A = list(map(int,input().split()))
A=set(A)
ans='No'

if len(ans) ==2:
    ans='Yes'
    
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x,y,z = map(int,input().split())
if x == y and x != z:
  print('Yes')
elif x == z and x != y:
  print('Yes')
elif y == z and x != y:
  print('Yse')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a = [int(i) for i in input().split()]
if (a[0] == a[1] and a[2]) or (a[0] == a[2] and a[1]) or (a[2] == a[1] and a[0]):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

Solution code:
import os, sys, re, math

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

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

Submission status: Wrong Answer

Solution code:
A,B,C = (int(x) for x in input().split())
if A == B and B == C:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

Solution code:
from collections import defaultdict

def main():
    N = list(map(int, input().split()))
    dd = defaultdict(int)

    for n in range(len(N)):
        dd[N[n]] += 1

    print('Yes') if len(dd) != 1 else print('No')

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
lis = list(map(int, input().split()))
lis.sort()
if lis[0] == lis[1] and lis[1] != lis[2]:
    print('Yes')
elif lis[1] == lis[2] and lis[0] != lis[1]:
    print('No')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a=list(input().split())
b=set(a)
if len(b) != len(a):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=input().split()

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

Submission status: Wrong Answer

Solution code:
def main():
    a, b, c = map(int, input().split())
    if a == b == c:
        print('No')
    elif a != b != c:
        print('No')
    else:
        print('Yes')
        
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = sorted([int(v) for v in input().rstrip().split()])
r = 'Yes' if l[0] != l[2] else 'No'
print(r)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C = input().split()

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

Submission status: Wrong Answer

Solution code:
A = input().split()

a = A.count(A[0])
b = A.count(A[1])
c = A.count(A[2])

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
print("Yes" if len(set(s)) == 2 else "No")

Submission status: Wrong Answer

Solution code:

def main():
    n = set(map(int, input().split()))
    if len(n) == 2:
        print('Yes')
    else:
        print('NO')


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))

l=set(a)

if len(l)==1:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
S = input().split()
S.sort()
print("Yes") if S[0] == S[1] and S[1] != S[2] else print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
if "AAB" or "ABA" or "BAA" or "AAC" or "ACA" or "CAA" or "BBA" or "BAB" or "ABB" or "CCA" or "CAC" or "ACC" or "BBC" or "BCB" or "CBB" or "CCB" or "CBC" or "BCC":
    print("Yes")
if "AAA" or "BBB" or "CCC" or "ABC":
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A,B,C = input().split()
A = int(A)
B = int(B)
C = int(C)
if A == B :
    print('Yes')
elif B == C :
    print('Yes')
elif C == A :
    print('Yes')
else :
    print('No')

Submission status: Wrong Answer

Solution code:
A,B,C = input().split()
A = int(A)
B = int(B)
C = int(C)
if A == B == C :
    print('Yes')
else :
    print('No')

Submission status: Wrong Answer

Solution code:
A,B,C = input().split()
A = int(A)
B = int(B)
C = int(C)
if A == B == C :
    print('No')
else :
    print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#l = list(map(int, input().split()))


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

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

Submission status: Wrong Answer

Solution code:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#l = list(map(int, input().split()))


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

if (l[1] != l[2]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import sys 
read = sys.stdin.buffer.read 
readline = sys.stdin.buffer.readline 
readlines = sys.stdin.buffer.readlines 
import numpy as np 
MOD = 10 ** 9 + 7 
MOD2 = 998244353

A,B,C = map(int, read().split())
print('No' if A == B == C else 'Yes')

Submission status: Wrong Answer

Solution code:
Num = len(set(input()))

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split())) 

flag = False
for i in range(0 , 3):
    for j in range(1 , 3):
        if i<j:
            if(A[i]==A[j]):
                flag = not flag

if(flag):
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split())) 
# print(A[0])

flag = False
for i in range(0, 2):
    for j in range(1 , 2):
        if(A[i]==A[j]):
            flag = not flag
if(flag):
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
nums = list(map(int, input().split()))

nums.sort()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = [int(i) for i in input().split(" ")]

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

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

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

Submission status: Wrong Answer

Solution code:
def main():
    a, b, c = (int(i) for i in input().rstrip().split(' '))
    print('No' if (a == b == c) or ((a != b) and (a != c)) else 'Yes')


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

Solution code:
line = list(input().split())
line.sort()
if line[0] != line[2]:
    if line[0] == line[1]:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A, B, C = input().split()
if A[-1] == B[0] or B[-1] == C[0] or C[-1] == A[0] :
    print("Yes")
else :
    print("No")

Submission status: Wrong Answer

Solution code:
a = [int(i) for i in input().split()]
a.sort()
if( ((a[0]!= a[1]) and a[1]==a[2]) or ((a[2]!= a[1]) and a[1]==a[0])):
	print('YES')
else:
	print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split()))

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
print('YNeos'[len(set(input()))^1::2])

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
a_b = a==b
b_c = b==c
a_c = a==c
print("Yes") if a_b or b_c or a_c else print("No")

Submission status: Wrong Answer

Solution code:
A = list(map(int,input().split()))

newA = sorted(A)
if newA[0]  == newA[1] or newA[1] == newA[2]:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
l=[b,c]
ans=0
for i in l:
  if a==i:
    ans+=1
if b==c:
  ans+=1
if ans==1:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
result=0
if A == B:
    if A != C:
        result+=1
    else:
        result+=0
elif B == A:
    if B != C:
        result+=1
    else:
        result+=0
elif C == A:
    if C != B:
        result+=1
    else:
        result+=0
if result==1:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#<ABC155>
#<A>
a,b,c=map(int,input().split())
if a==b or a==c or b==c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = input().split()
if a == b:
    if b == c:
        print('No')
    else:
        print('Yes')
elif b == c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
combined = input().split(" ")
a = int(combined[0])
b = int(combined[1])
c = int(combined[2])

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
ABC = set(input().split())
print('yes' if len(ABC) == 2 else 'No')

Submission status: Wrong Answer

Solution code:
s = set(map(int, input().split()))
print('Yes' if len(s) >= 2 else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x, y, z = map(int, input().split())
if x == y == z or x != y != z:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
a = input().split()
a = set(a)
"Yes" if len(a) == 2 else "No"

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("Yes" if len(set(map(int, input().split()))) < 3 else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C = list(map(int, input().split()))
print('No' if A == B == C else 'Yes')

Submission status: Wrong Answer

Solution code:
def has_duplicates(seq):
    return len(seq) != len(set(seq))
  
l=list(map(int,input().split()))
print('Yes')if has_duplicates(l) else print('No')

Submission status: Wrong Answer

Solution code:
l=list(map(int,input().split()))
if set(l):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

poor="No"
if a!=b:
    poor="Yes"
elif b!=c:
    poor="Yes"
elif c!=a:
    poor="Yes"

print(poor)

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a = input().split()
count = 0
if a[0] == a[1]:
    count = count + 1
if a[1] == a[2]:
    count = count + 1
if a[0] == a[2]:
    count = count + 1
print("Yes" if count == 2 else "No")

Submission status: Wrong Answer

Solution code:
a = input().split()
a = set(a)
print("YES" if len(a) == 2 else "No")

Submission status: Wrong Answer

Solution code:
num_list = list(map(int, input().split()))

num_list.sort()

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

Submission status: Wrong Answer

Solution code:
A = set(list(map(int, input().split())))
if len(A) == 2:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import collections
elems = map(int, raw_input().split(' '))

def f(elems):
	elems.sort()
	
	return (elems[0] == elems[1] and elems[1] != elems[2]) and (elems[1] == elems[2] and elems[0] != elems[1])


print 'Yes' if f(elems) else 'No'

Submission status: Wrong Answer

Solution code:
import collections
elems = map(int, raw_input().split(' '))

def f(elems):
	elems.sort()
	return elems[0] == elems[1] and elems[1] != elems[2]


print 'Yes' if f(elems) else 'No'

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
l=[]
l.append(a)
l.append(b)
l.append(c)

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

Submission status: Wrong Answer

Solution code:
from sys import stdin 
input = stdin.readline
A,B,C=map(int,input().split())
if A != B:
  if  B==C:
      print("Yes")
  else:
    print("No")
elif B != C:
  if A==B:
    print("Yes")
  else:
    print("No")
elif C != A:
  if A==B:
    print("Yes")
  else:
    print("No")
else:
  print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline


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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def ABC_155_A():
    A,B,C = map(int, input().split())

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

if __name__ == '__main__':

    ABC_155_A()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
A,B,C=map(int,input().split())
if A!=B and B!=C and C!=A:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
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")
elif A==B and B!=C and C==A:
    print("No")
elif A!=B and B==C and C==A:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
A,B,C=map(int,input().split())
if A==B and B==C and C==A:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
L = list(map(int,input().split()))
L.sort()

if L[0] == L[1] != L[2] or L[0] != L[1] == [2]:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c = input().split(' ')

# aとbが等しい　かつ　aはcと等しくない
if a == b and a != c:
    print("Yes")
# それ以外の時
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int, input().split()) #1 2 3

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int, input().split()) #1 2 3

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int, input().split()) #1 2 3

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int, input().split()) #1 2 3

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int, input().split()) #1 2 3
# print(A) 1

if A == B or A == C or B == C:
  print("NO")
else:
  print("YES")

Submission status: Wrong Answer

Solution code:
A,B,C=map(int, input().split()) #1 2 3
# print(A) 1

if A == B or A == C:
  print("NO")
else:
  print("YES")

Submission status: Wrong Answer

Solution code:
A,B,C=map(int, input().split()) #1 2 3
# print(A) 1

if A == B or A == C:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
a=sorted([int(i) for i in input().split()])
if (a[0]==a[1] and a[0]!=a[2]) or (a[0]!=a[1] and a[0]==a[2]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def solve():
    A, B, C = list(input().split())
    if A == B == C:
        print("No")
        exit()
    if A != B != C:
        print("No")
    else:
        print("Yes")


if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
def solve():
    A, B, C = list(input().split())
    if A == B == C:
        print("Yes")
        exit()
    else:
        print("No")


if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

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


if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:

ABC = set(input())

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

Submission status: Wrong Answer

Solution code:
a,b,c=(int(x) for x in input().split())
if a==b==c or a!=b!=c:
    print("No")
else:
    print("Yes")