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:
n = list(map(int, input().split()))
if n[0] != n[1]:
    if n[1] == n[2]:
        print("Yes")
        exit()
    if n[0] == n[2]:
        print("Yes")
        exit()
    if n[0] != n[2]:
        print("No")
        exit()
print("Yes")

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
if n[0] == n[1]:
    print("No")
    exit()
    if n[0] == n[2]:
        print("No")
        exit()
print("Yes")

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
if n[0] == n[1]:
    if n[0] == n[2]:
        print("No")
        exit()
print("Yes")

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
if n[0] == n[1]:
    if n[0] == n[2]:
        print("No")
print("Yes")

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
if n[0] == n[1]:
    if n[0] == n[2]:
        print("Yes")
        exit()
print("No")

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
if n[0] == n[1]:
    if n[0] == n[2]:
        print("Yes")
print("No")

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
if n[0] == n[1] == n[2]:
    print("No")
    exit(0)
print("Yes")

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
if n[0] == n[1] == n[2]:
    print("Yes")
print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

flg = False
for item in items:
  if items.count(item) >= 2:
    print('Yes')
    flg = True
    break
if not flg:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
box = list(map(int, input().split()))
if box.count(box[0]) == 2:
  print("No")
elif box.count(box[1]) == 2:
  print("No")
else :
  print("Yes")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
k = [a, b, c]
if(len(set(k))==2):
    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 = list(map(int, input().split()))

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

Submission status: Wrong Answer

Solution code:
# n = int(input())
A = list(map(int, input().split()))
# a, b, c = map(int, input().split())
set_A = set(A)
if len(A) == 3:
    if len(set_A) == 2:
        ("Yes")
        exit()
print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
v = list(map(int,input().split()))
flag = True
flag = flag or max(v) != min(v)
for i in v:
  if max(v) != i and min(v) != i: flag = False
print("Yes" if flag else "No")

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
count=0
if a==b:
    count+=1
elif b==c:
    count+=1
elif a==c:
    count+=1
if count==1:
    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')
elif a == b and b != c:
    print('Yes')
elif a != b and b == c:
    print('Yes')
elif a != b and b != c:
    print('No')

Submission status: Wrong Answer

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

alist.sort()
if alist[0] == alist[1] and alist[1] < alist[2]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

alist.sort()
if alist[0] == alist[1] and alist[1] > alist[2]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = list(input())
if s[0] == s[1] or s[1] == s[2] or s[0] == s[2]:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s = list(input())
if s[0] == s[1] and s[1] == s[2] and s[0] == s[2]:
  print("No")
else:
  print("Yes")

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = (int(x) for x in input().split())
def check(a, b, c):
    if a==b and not(a==b==c): return(True)
    if a==c and not(a==b==c): return(True)
    if b==c and not(a==b==c): return(True)
    return False

if check(a, b, c):
    print('Yes')
else:
    print('no')

Submission status: Wrong Answer

Solution code:
#3つの数字をリストにする
data = input().split( )
#場合わけ
if (data[0] == data[1] or data[1] == data[2] or
   data[2] ==data[0]) and data[1]!= data[2]!=data[0] :
    print("Yes")

else:
    print("No")

Submission status: Wrong Answer

Solution code:
#3つの数字をリストにする
data = input().split( )
#場合わけ
if data[0] == data[1] or data[1] == data[2] or data[2] ==data[0] :
    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 = 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:
A, B, C = map(int, input().split())
if 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())

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

sum_distance = set(["a","b","c"])

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

Submission status: Wrong Answer

Solution code:
arr = list(map(int, input().split()))
arr.sort()
print(['No','Yes'][arr[0] != arr[-1]])

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:
input = [int(x) for x in input().split()]

A = input[0]
B = input[1]
C = input[2]

isPoor = False
if (A==B):
    if (A!=C):
        isPoor = True
elif (A==C):
    if (A!=B):
        isPoor = True

if (isPoor):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

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

else:
    print("no")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
A, B, C = map(int, input().split())


print(A,B,C)

#内部レーティング
if A==B==C:
    ans="No"
elif A!=B and B!=C and A!=C:
    ans="No"
else:
    ans="Yes"


# 出力
print("{}".format(ans))

Submission status: Wrong Answer

Solution code:
a, b, c = list(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 = list(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())

s = set([a,b,c])
if len(s) == 2:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

if(int(len(set(c)) == 3)):
    print("No")
elif(int(len(set(c)) == 2)):
    print("Yes")

Submission status: Wrong Answer

Solution code:
l = input().split()
l.sort()
if(l[0]!=l[2]):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
s=0
for i, x in enumerate(n):
    if x in n[i+1:]: s+=1
print("%s" % "YES" if s==1 else "NO")

Submission status: Wrong Answer

Solution code:
a=1<<1000000000

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:
from sys import stdin
import math

if __name__ == '__main__':
	n = stdin.readline()
	n = n.rstrip('\n')
	n = n.split(' ')
	n = [int(i) for i in n]
	n.sort()
	if n[0] == n[1] and n[1] != n[2]:
		print('Yes')
	else:
		print('No')

Submission status: Wrong Answer

Solution code:
[A,B,C] = list(map(int,input().split()))
l = [A,B,C]
l.sort()

if (l[0]+l[1]+l[2])/3 > l[0]:
  if l[0] == l[1] or l[1] == l[2]:
    print("Yes")
  else:
    print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a == b or a == c or b == c: 
  if a == b == c:
    print('No')
  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 != 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=(int(x) for x in input().split())

if a==b==c or 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==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 and B != C and 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) or (A != B and B != C and 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) or (A == B and B != C) or (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) or (A == B and B != C):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(len(set([a, b, c])) > 2)

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

Submission status: Wrong Answer

Solution code:
list=[int(x) for x in input().split()]
count=0
for i in range(1,len(list)):
  if list[i-1]==list[i]:
    count=count+1
if count==1:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
list=[int(x) for x in input().split()]
list.sort()
if list[0]==list[1]:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input().split(' ')

if  x[0] == x[1] != x[2]:
    print("yes")
elif x[1] == x[2] != x[0]:
    print("yes")
elif x[2] == x[0] != x[1]:
    print("yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
ABC = input().split(' ')

if  ABC[0] == ABC[1] != ABC[2]:
    print("yes")
elif ABC[1] == ABC[2] != ABC[0]:
    print("yes")
elif ABC[2] == ABC[0] != ABC[1]:
    print("yes")
else:
    print("No")

Submission status: Wrong Answer

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

if  ABC[0] == ABC[1] != ABC[2]:
    print("yes")
elif ABC[1] == ABC[2] != ABC[0]:
    print("yes")
elif ABC[2] == ABC[0] != ABC[1]:
    print("yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
x = input().split()
A = x[0]
B = x[1]
C = x[2]

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

Submission status: Wrong Answer

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

if  x[0]== x[1] != x[2]:
    print("yes")
elif x[1] == x[2] != x[0]:
    print("yes")
elif x[2] == x[0] != x[1]:
    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")
elif A == B and B == C:
	print("No")
else:
	print("Yes")

Submission status: Wrong Answer

Solution code:
from collections import Counter

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

L = []
L.append(A)
L.append(B)
L.append(C)

c = Counter(L)

if max(c.values()):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input().split()
x=a[0]
y=a[1]
z=a[2]
if x==y:
    if x==z:
        print("Yo")
    else:
        print("Yes")
else:
    if x==z:
        print("Yes")
    else:
        if y==z:
            print("Yes")
        else:
            print("No")

Submission status: Wrong Answer

Solution code:
a = input().split()
x=a[0]
y=a[1]
z=a[2]
if x==y:
    if x==z:
        print("no")
    else:
        print("yes")
else:
    if x==z:
        print("yes")
    else:
        if y==z:
            print("yes")
        else:
            print("no")

Submission status: Wrong Answer

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

if n[0] == n[1] == n[2]:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = [int(x) for x in input().split()]
print(["Yes", "No"][sum([a, b, c]) % 3 == 0 and len(set([a, b, c]))==2 ])

Submission status: Wrong Answer

Solution code:
a, b, c = [int(x) for x in input().split()]
print(["Yes", "No"][sum([a, b, c]) % 3 == 0 ])

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

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

Submission status: Wrong Answer

Solution code:
nums = input().rstrip().split(" ")
n1 = int(nums[0])
n2 = int(nums[1])
n3 = int(nums[2])
if n1 == n2 and n2 == n3:
  print("No")
elif n1 != n2 and n2 != n3:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
lst=input().split()
if  lst[0]==lst[1]:
    if lst[0]!=lst[2]:
        print("Yes")
    else:
        print("No")
elif lst[0]==lst[2]:
    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("No")
    exit()
  else:
    print("Yes")
    exit()

elif a == c:
  print("Yes")
  exit()

else:
  print("No")
  exit()

Submission status: Wrong Answer

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

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

elif a == c:
  print("Yes")

else:
  print("No")

Submission status: Wrong Answer

Solution code:
list = input()
a = list[0]
b = list[2]
c = list[4]
if a == b:
  if a != c:
    print("Yes")
  else:
    print("No")
else:
  if a == c or a == b:
    print("Yes")
  else:
    print("No")

Submission status: Wrong Answer

Solution code:
list = input()
a = list[0]
b = list[2]
c = list[4]
if a == b:
  if a != c:
    print("Yes")
  else:
    print("No")
else:
  if a == c:
    print("Yes")
  else:
    print("No")

Submission status: Wrong Answer

Solution code:
digits = set(input().split(' '))
if len(digits) < 3:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
list = input()
a = list[0]
b = list[1]
c = list[2]
if a == b:
  if a != c:
    print("Yes")
  else:
    print("No")
else:
  if a == c or b == c:
    print("Yes")
  else:
    print("No")

Submission status: Wrong Answer

Solution code:
def count_kawaisou(num):
    s = num.split()
    num_list=list(s)
    print(num_list)
    check_counter_12 = 0
    check_counter_13 = 0
    check_counter_23 = 0
    if num_list[0] == num_list[1]:
        check_counter_12 += 1
    if num_list[0] == num_list[2]:
        check_counter_13 += 1
    if num_list[1] == num_list[2]:
        check_counter_23 += 1
    return check_counter_12 + check_counter_13 + check_counter_23

def check_kawaisou(nums):
  if nums == 1:
    return "Yes"
  else:
    return "No"

def main():
  num=input()
  check_nums = count_kawaisou(num)
  print(check_nums)
  result = check_kawaisou(check_nums)
  print(result)

main()

Submission status: Wrong Answer

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

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:
i=list(map(int, input().split()))
 
if i[0]==i[1] | i[0]==i[2] | i[1]==i[2]:
	if i[0]==i[1] & i[0]==i[2]:
		print('No')
	else:
		print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:


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


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

Submission status: Wrong Answer

Solution code:
i=list(map(int, input().split()))
if i[0]==i[1] & i[0]==i[2]:
	print('No')
if i[0]==i[1] | i[0]==i[2] | i[1]==i[2]:
	print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import numpy as np

i=list(map(int, input().split()))
print(i)
if 1<=i[0]<=9:
    if i[0]==i[1]&i[1]!=i[2]:
        print('Yes')
    elif i[0]==i[2]&i[1]!=i[2]:
        print('Yes')
    elif i[1]==i[2]&i[0]!=i[1]:
        print('Yes')
    else:
        print('no')

Submission status: Wrong Answer

Solution code:
import numpy as np

i=list(map(int, input().split()))
print(i)
if i[0]==i[1]&i[1]!=i[2]:
  print('Yes')
elif i[0]==i[2]&i[1]!=i[2]:
  print('Yes')
elif i[1]==i[2]&i[0]!=i[1]:
  print('Yes')
else:
  print('no')

Submission status: Wrong Answer

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

if (A==B==C or  A!=C 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) and (b == c):
  print('No')
elif (a == b) or (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('No')
if (a == b) or (b == c):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
print('no')

Submission status: Wrong Answer

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

if (a == b) & (b == c):
	print('no')

if (a == b) | (b == c):
	print('yes')

print('no')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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