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=[int(x) for x in input().split()]
if a==b & b==c:
    print("No")
if a!=b & b!=c & a!=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 & b==c:
    print("No")
if a!=b & b!=c:
    print("No")
else :
    print("Yes")

Submission status: Wrong Answer

Solution code:

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C = [int(x) for x in 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 = [int(x) for x in input().split()]

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

Submission status: Wrong Answer

Solution code:
if len(set(input()))==2: 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")
else:
    if b==c:
        print("Yes")
    else:
        print("No")

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

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

Submission status: Wrong Answer

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

if len(set(n)) == 1:
  ans = 'No'

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x,y,z = map(int, input().split())

if (x == y and y != z) or (x==z and y !=z):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
def triple (a,b,c):
  if a == b or a ==c or b == c:
    return "No"
  else:
    return "Yes"

Submission status: Wrong Answer

Solution code:
def solve(a, b, c):
    if (a == b and a != c) or (b == c and a != c) or (c == a and a != b):
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    a, b, c = map(int, input().split())

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
# 1以上N以下の整数のうち、10進法での各桁の和が
# A以上B以下であるものの総和を求めてください。
import math
a, b, c = map(int, input().split())
if a == b and a != c and b != c:
  print('Yes')
elif a == c and a != b and b != b:
  print('Yes')
elif c == b and a != c and b != a:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import numpy as np
import sys
input=sys.stdin.readline
#aのリストの中で２つ選び積がb未満の組み合わせがいくつあるかを出力する
def ok(a,b):
    ans=0
    n=len(a)
    for i in range(n):
        l=0
        r=len(a)-1
        
        if(a[i]*a[i]<b):
            ans-=1
        
        if(a[i]<0):
            if(a[l]*a[i]<b):
                ans+=n
                
                continue
            if(a[r]*a[i]>=b):
                ans+=0
                continue
        
            while(l+1<r):
                middle=(l+r)//2
                if(a[i]*a[middle]<b):
                    r=middle
                else:
                    l=middle
            ans+=n-r
        else:
            
            if(a[r]*a[i]<b):
                ans+=n
                continue
            if(a[l]*a[i]>=b):
                ans+=0
                continue           
            while(l+1<r):
                middle=(l+r)//2
                if(a[i]*a[middle]<b):
                    l=middle
                else:
                    r=middle   
                    
            ans+=l+1

    ans/=2
    
    return ans


NK=list(map(int,input().split()))
N=NK[0]
K=NK[1]
A=np.array(list(map(int,input().split())))
A=sorted(A)
l=-10**18
r=10**18

while(l+1<r):

    middle=(l+r)//2
    if(ok(A,middle)<K):
        l=middle
    else:
        r=middle

print(l)

Submission status: Wrong Answer

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

tmp=sorted(num)

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

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:
import sys
 
line = [l for l in sys.stdin][0]
digits = line.split(' ')
num = [int(s) for s in digits]
 
res = 'No'
if num[0] == num[1]:
  if num[0] != num[2]:
    res = 'Yes'
    
if num[1] == num[2]:
  if num[1] != num[0]:
    res = 'Yes'

if num[2] == num[1]:
  if num[2] != num[0]:
    res = 'Yes'
    
print(res)

Submission status: Wrong Answer

Solution code:
import sys
 
line = [l for l in sys.stdin][0]
digits = line.split(' ')
num = [int(s) for s in digits]
 
res = 'No'
if num[0] == num[1]:
  if num[0] != num[2]:
    res = 'Yes'
    
if num[1] == num[2]:
  if num[1] != num[0]:
    res = 'Yes'
print(res)

Submission status: Wrong Answer

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

if a[0] == a[1]:
  if a[0] != a[2]:
   	ans = "Yes"
else:
  if a[0] == a[1] or a[1] == a[2]:
    ans = "Yes"
    
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
arr=list(map(int,input().split()))
cnt=0
if(arr[0]==arr[1]):
  cnt+=1
if(arr[0]==arr[2]):
  cnt+=1
if(arr[1]==arr[2]):
  cnt+=1
if(cnt==3):
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
arr=list(map(int,input().split()))
cnt=0
if(arr[0]==arr[1]):
  cnt+=1
if(arr[0]==arr[2]):
  cnt+=1
if(arr[1]==arr[2]):
  cnt+=1
if(cnt==3):
  print("NO")
else:
  print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

i = 0

if(a[i] == a[i+1] and a[i] == a[i+2]):
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
n = input()
ans = "No"

if n[0]==n[1]:
  if n[0]!=n[2]:
    ans="Yes"
else:
  if n[0]==n[2]:
    ans="Yes"
  elif n[1]==n[2]:
    ans="Yes"


print(ans)

Submission status: Wrong Answer

Solution code:
a=input().strip().split()


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if len(set(ABC)) == 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("Yes")
elif(a==b):
  print("No")
elif(b==c):
  print("No")
elif(c==a):
  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:
n = list(map(int, input().split()))
a = n[0]
b = n[1]
c = n[2]

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

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
a = n[0]
b = n[1]
c = n[2]

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

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
a = n[0]
b = n[1]
c = n[2]
print(a, b, c)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

for i in range(0, len(list)):
	list[i] = int(list[i])
    
a = list[0]
b = list[1]
c = list[2]

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

else:
  if hoge[0] == hoge[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')
  else:
    print('YES')
elif A == C:
  print('YES')
elif 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 or A == C:
    if B != C:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l=list(map(int,input().split()))
l.sort()
x=l[1]
for i in range(3):
	l[i]-=x
if len(set(l))>1:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
N = set(map(int,input().split()))
A = 'YES'
if len(N) == 2:
  print(A)
else:
  A = 'NO'
  print(A)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
d = raw_input()
a, b, c =  d.split()
a = int(a)
b = int(b)
c = int(c)
if (a==b):
  if c == a:
    print("Yes")
  else:
    print("No")
else:
  if a==c or b == 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')
else:
  if A == C or B == C:
    print('Yes')
  else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
inp_str = input()
a, b, c = [int(x) for x in inp_str.split()]
if (a == b or a == c or b == c) and not a == b == c:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
inp_str = input()
a = int(inp_str[0])
b = int(inp_str[2])
c = int(inp_str[4])
if (a == b or a == c or b == c) and not a == b == c:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
import collections
inputs = input().split()
if len(collections.Counter(inputs)) == 2:
  print('yes')
else:
  print('no')

Submission status: Wrong Answer

Solution code:
import collections
inputs = input().split()
if len(collections.Counter(inputs)) < 3:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
d = set([a,b,c])
if len(d) == 1:
  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:
def solve():
    A, B, C = map(int,input().split())
    if A == B and A == C:
        print('No')
    else:
        print('Yes')


if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
def main():
    n = 10**4
    fac = [1]
    for i in range(1,n+1):
        fac.append(fac[-1]*i)
    print(fac[10000]//fac[5000]//fac[5000])
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
import sys,bisect,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpln(n): return list(int(sys.stdin.readline()) for i in range(n))

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

Submission status: Wrong Answer

Solution code:
W= [int(x) for x in input().split()]
print("No" if sum(W)/3 == W[0] else "Yes")

Submission status: Wrong Answer

Solution code:
n= [int(x) for x in input().split()]
n.sort()
if n[0]==n[1] and n[1]!=n[2]:
    print("YES")
elif n[0]!=n[1] and n[1]==n[2]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = [int(x) for x in input().split()]
s.sort()
if s[0] == s[1] and s[1] != s[2]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = [int(x) for x in input().split()]
s.sort()
# print(s)
if s[0] == s[1] and s[1] != s[2]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = [int(x) for x  in input().split()]

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

Submission status: Wrong Answer

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

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 = map(int, input().split(" "))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys

input = sys.stdin.readline

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
myinput_H = input()
mylist = list(map(int, myinput_H.split(" ")))
A = mylist[0]
B = mylist[1]
C = mylist[2]
def check(a,b,c):
  if (a == b & b != c) or (a == c & b != c) or (b == c & b != a):
    print(Yes)
  else:
    print(No)

Submission status: Wrong Answer

Solution code:
kumi = input()
ans = 'No'
kumilist = kumi.split(' ')
for s in kumilist:
    if kumilist.count(s) != 1:
        ans = 'Yes'
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input().split()
a = list(set(a))

if len(a)==1:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
a = input().split()
a = list(set(a))

if len(a)==1:
    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:
    if A!=B:
        print('Yes')
    else:
        print('No')

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

Submission status: Wrong Answer

Solution code:
import numpy as np
A, B, C = map(int, input().split())
print(A, B, C)


if len(set([A, B, C])) == 2:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import sys

def main():

    # sys.stdin = open('input155a.txt')

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

    answer = check(a, b, c)
    print(answer)

def check(a, b, c):

    for _ in range(3):
        a, b, c = b, c, a
        if a == b and b != c:
            return 'True'

    return 'False'


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#A問題
a, b, c = 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")
else:
    print("No")

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:
#標準入力から値を取得+Splitで分割して変数A,B,Cに登録
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 = [int(i) for i in 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 = [int(i) for i in input().split()]

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!usr/bin/python3

import sys, os, math

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

Submission status: Wrong Answer

Solution code:
# A - Poor
def main():
    A, B, C = map(int, input().split())
    print("No" if A == B == C else "Yes")


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
aa = []
if a == b:
    aa.append(1)
if a == c:
    aa.append(1)
if b == c:
    aa.append(1)
if len(aa) == 1:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
aa = []
if a == b:
    aa.append(1)
if a == c:
    aa.append(1)
if b == c:
    aa.append(1)
print(len(aa))
print(aa)
if len(aa) == 1:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
i = list(map(str, input().split()))
poor = False
if i[0] == i[1] and i[0] != i[2]:
    poor = True
if i[0] == i[2] and i[0] != i[1]:
    poor = True
if poor:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:


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


def get_status(numb1, numb2, numb3):

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


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

Submission status: Wrong Answer

Solution code:


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = set(list(map(int, input().split())))
print('yes' if len(a) == 2 else 'no')

Submission status: Wrong Answer

Solution code:
# 3つの数字を1行で空白を挟んで入力
# 2つの数字が同じならかわいそうなのでyes、3つが同じまたは全て異なる場合は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")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

l = sys.stdin.readline().strip().split(" ")
s = sorted(l)
if s[0] == s[1] and s[1] != s[2]:
    print "Yes"
else:
    print "No"

Submission status: Wrong Answer

Solution code:
import sys

a, b, c = sys.stdin.readline().strip().split(" ")

if a == b and b == c:
    print "Yes"
else:
    print "No"

Submission status: Wrong Answer

Solution code:
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]):
    ret="Yes"
    
  print(ret)

Submission status: Wrong Answer

Solution code:
import sys;

Nums = input().split(' ');
Nums.sort();

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

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:
from collections import Counter 
ins = input().split(" ")
aa = list()
qc = 0
ccc = list()
cnt = Counter(ins)
nums = cnt.most_common()
res = nums[0][0]
values, counts = zip(*cnt.most_common())
aa.append(values[0])
if len(counts) > 1:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s,t,u = input().split()

if s == t == u:
    print("No")
elif s != t != u:
	print("No")    
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
A, B, C = map(int, input("Enter a multiple value: ").split())

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