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

Submission status: Wrong Answer

Solution code:
a, b, c = input().split()
a = int(a)
b = int(b)
c = int(c)
if a==b and a!=c:
    print('yes')
elif a==c and a!=b:
    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 == c:
    print("NO")
elif a == b or b == c or c == a:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s = list(map(int, input().split()))
if len(s)==3:
    if s[0]==s[1] and s[0]!=s[2]:
        print('yes')
    elif s[0]==s[2] and s[1]!=s[0]:
        print('yes')
    elif s[1]==s[2] and s[1]!=s[0]:
        print('yes')
    else:
        print('no')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

# Input
from sys import stdin
A, B, C = [int(x) for x in stdin.readline().rstrip().split()]

# Proccess
kawaisou = ""
k = 0

if A == B:
	if A == C:
		k += 0
	else:
		k += 1

if B == C:
	if B == A:
		k += 0
	else:
		k += 1

if k == 1:
	kawaisou = "Yes"
else:
	kawaisou = "No"

# Output							
print(kawaisou)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

nums.sort()
for i in range(len(nums)):
    nums[i] = int(nums[i])
    


if nums[1] == nums[2] and nums[0]<nums[1]:
    print(True)
elif nums[1] == nums[0] and nums[1]<nums[2]:
    print(True)
else:
    print(False)

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = input()
x,y,z = num.split(" ")
if x == y or y == z or x == z:
    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("No")
else:
  print("Yes")

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input().split()
print('YES' if len(set(n)) == 2 else 'NO')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
def contest(val):
    a_str, b_str, c_str = val.split(' ')

    a = int(a_str)
    b = int(b_str)
    c = int(c_str)

    if a == b & b == c:
        return 'no'
    elif a == b:
        return 'yes'
    elif b == c:
        return 'yes'
    elif a == c:
        return 'yes'
    else:
        return 'no'


if __name__ == "__main__":
    val = input()

    print(contest(val))

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys

YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(A: int, B: int, C: int):
    ans=[A,B,C]
    ans.sort()
    if ans[0]==ans[1]:
        if ans[1]!=ans[2]:
            print(YES)
        else:print(NO)
    else:
        print(NO)
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    C = int(next(tokens))  # type: int
    solve(A, B, C)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
A, B, C= map(int, input().split())
count = 0 
    
if A==B and A!=C and C!=B:
    print('Yes')
if A==C and A!=B and C!=B:
    print('Yes')
if C==B and A!=C 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:
A,B,C = map(int,input().split())
if (A==B and B!=C):
    print("YES") 
elif (A==C and (A!=B or B!=C)):
    print("YES")
elif (B==C and A!=B):
    print("YES")
elif(A==B==C):
    print("NO")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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:
s = list(map(int, input().split()))
if len(s)==3:
  if s[0] == s[1] and s[2]!=s[0]:
      print('yes')
  elif s[0] == s[2] and s[1]!=s[0]:
      print('yes')
  elif s[1] == s[2] and s[0]!=s[1]:
      print('yes')
  else:
      print('no')

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys

YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(A: int, B: int, C: int):
    ans=[A,B,C]
    ans.sort()
    print(YES if ans[0]==ans[1] and ans[0]!=ans[2] else NO)
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    C = int(next(tokens))  # type: int
    solve(A, B, C)

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

Submission status: Wrong Answer

Solution code:
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:
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) 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())
count = 0 
    
if A==B:
    if A!=C and C!=B:
        print('Yes')
    else:
        print('No')
if A==C:
    if A!=B and C!=B:
        print('Yes')
    else:
        print('No')
if C==B:
    if A!=C and A!=B:
        print('Yes')
    else:
        print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

import itertools

#入力
li = list(map(int, input().split()))

li.sort()

if li[0] == li[1] and li[1] != li[2]:
    print('YES')

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys

YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(A: int, B: int, C: int):
    ans=[A,B,C]
    ans.sort()
    print(YES if ans[0]==ans[1] and ans[1]!=ans[2] else NO)
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    C = int(next(tokens))  # type: int
    solve(A, B, C)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

import sys


#入力
li = list(map(int, input().split()))

li.sort()

if li[0] == li[1] and li[1] != li[2]:
    print('YES')

elif li[0] != li[1] and li[1] == li[2]:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

Solution code:
LIST = sorted(input().split(),reverse=True)

flag = 0
if LIST[0] == LIST[1]:
    flag += 1
if LIST[1] == LIST[2]:
    flag += 1

if flag == 1:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

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

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

    print('No')


resolve()

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=list(map(int,input().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())
my_list = [a, b, c]
if (a == b != c) 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) 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:
data=list(map(int,input().split()))
data.sort()
print(data)
ans="No"
if data[0]==data[1]:
    if data[1]==data[2]:
        ans="No"
    elif data[1]!=data[2]:
        ans='Yes'
elif data[0]!=data[1]:
    if data[1]==data[2]:
        ans="Yes"
print(ans)

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]):
  print("NO")
else:
  print("YES")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

import sys
from collections import deque, Counter, defaultdict
from fractions import gcd
input = sys.stdin.readline

#入力
li = list(map(int, input().split()))

li.sort()

if li[0] == li[1] and li[1] != li[2]:
    print('YES')

elif li[0] != li[1] and li[1] == li[2]:
    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]):
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

    print('Yes')


resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

if A == B and A != C and B != C :
	S = 'YES'
elif A != B and (A == C or B == C) :
	S = 'YES'

print(S)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
inp = input()
A,B,C = inp.split()[0],inp.split()[1],inp.split()[2]
if A == B or A == C or B ==A or B==C or C ==A or C ==B: 
  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:
    if B==C:
        print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
a,b,c = input().split()
d = 0
if a == b:
    if a != c:
        d +=1
if a == c:
    if b != c:
        d +=1
if c == b:
    if a != c:
        d +=1
if d>0:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
A, B, C = [int(x) for x in input("Enter two value: ").split()]
if A == B and C!=A:
    print('Yes')
elif A==C and B!=A:
    print('Yes')
elif B==C and A!=B:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
LIST = sorted(input().split(),reverse=True)

flag = 0
if LIST[0] == LIST[1]:
    flag += 1
if LIST[1] == LIST[2]:
    flag += 1
if LIST[0] == LIST[2]:
    flag = 0

if flag == 1:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
#from math import sqrt
#from heapq import heappush, heappop
#from collections import deque

a, b, c = [int(v) for v in input().split()]

if a == b and a != c:
    print("YES")
    exit()

if b == c and b != a:
    print("YES")
    exit()

if c == a and c != b:
    print("YES")
    exit()

print("NO")

Submission status: Wrong Answer

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

if(int(a[1])==int(a[2]) and int(a[1])!=int(a[0])):
    print("yes")
elif(int(a[0])==int(a[2]) and int(a[1])!=int(a[0])):
    print("yes")
elif(int(a[0])==int(a[1])==int(a[2])):
    print("No")
elif(int(a[0])!=int(a[1])!=int(a[2])):
    print("No")

else:
    print("Yes")

Submission status: Wrong Answer

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

if A == B :
	if A != C :
		S = 'YES'
elif A == C or B == C :
	S = 'YES'

print(S)

Submission status: Wrong Answer

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

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

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

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

    print('No')


resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = list(map(int, input().split()))
if i[0]==i[1] and i[0]!=i[2]:
    print('YES')
elif i[0]==i[2] and i[0]!=i[1]:
    print('YES')
elif i[1]==i[2] and i[0]!=i[1]:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

a = inputs[0]
b = inputs[1]
c = inputs[2]
if(a & b & c == a):
    print("No")
    exit(0)

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

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))
A = a[0]
B = a[1]
C = a[2]

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

Submission status: Wrong Answer

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


if A==B & B==C & C==A:
    print('NO')

elif A!=B & B!=C & C!=A:
    print('NO')

else:
    print('YES')

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:
s = input()
a = int(s[0])
b = int(s[2])
c = int(s[4])

if (a == b & b != c) | (c == b & a != c) | (a == c & b != c):
    p = 'Yes'
else:
    p = 'No'

print(p)

Submission status: Wrong Answer

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

main()

Submission status: Wrong Answer

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

if s[0] == s[1] == s[2]: 
	print("No1")
elif s[0] != s[1] != s[2] != s[0]:
	print("No2")
else:
	print("Yes")

Submission status: Wrong Answer

Solution code:
import sys
line = input('input A B C')
A = line.split(' ')[0]
B = line.split(' ')[1]
C = line.split(' ')[2]

cnt_a = [A,B,C].count(A)
cnt_b = [A,B,C].count(B)
cnt_c = [A,B,C].count(C)

if cnt_a == 3:
  print("No")
elif cnt_a == 2 or cnt_b == 2 or cnt_c == 2:
  print("Yes")
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A,B,C = [int(x) for x in input().split()]

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

from operator import itemgetter

#入力
li = list(map(int, input().split()))

li.sort()

if li[0] == li[1] and li[1] != li[2]:
    print('YES')

elif li[0] != li[1] and li[1] == li[2]:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
inp = input()
A = int(inp.split()[0])
B = int(inp.split()[1])
C = int(inp.split()[2])
if A == B or A ==C or B == A or B == C or C==A or 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!=C):
    print("NO") 
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
n = input().split()
n= [int(i) for i in n]
n.sort()


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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
lst = list(map(int,input().split()))
if len(lst) == lst.count(lst[0]):
    print("Yes")
else:
    print("No")

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

#入力
li = list(map(int, input().split()))

li.sort()

if li[0] == li[1] and li[1] != li[2]:
    print('YES')

elif li[0] != li[1] and li[1] == li[2]:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
print(a, b, c)
if a+b+c == 5:
    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: print('YES')
else: print('NO')

Submission status: Wrong Answer

Solution code:

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

main()

Submission status: Wrong Answer

Solution code:
A = 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 ^ b == c ^ 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 c ==a:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
a = input()
for i in  a:
    b = [j for j in a if i == j]
    if len(b) == 2:
        print("Yes")
        break
    else:
        print("No")
        break

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

Submission status: Wrong Answer

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