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:
def is_kawaisou(a, b, c):
    if a == b:
        return 'Yes'
    if b == c:
        return 'Yes'
    if a == c:
        return 'Yes'
    else:
        return 'No'

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
 
for line in sys.stdin:
  A, B, C = [int(s) for s in line.split()]
    
if (A-B) * (B-C) * (C-A) == 0 and abs(A-B) + abs(B-C) + abs(C-A) == 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("Yes")
    else:
        print("No")
elif a!=b:
    if a==c:
        print("Yes")
    else:
        if b==c:
            print("Yes")
        else:
            print("NO")

Submission status: Wrong Answer

Solution code:
s = input().split()
ans = "NO" if s[0] == s[1] == s[2] else "YES"
print(ans)

Submission status: Wrong Answer

Solution code:
abc = input().split()
intlist = [int(s) for s in abc]
a,b,c = intlist[0],intlist[1],intlist[2]
if (a == b & a != c) | (a == c & a != b) | (b == c & c != a):
    print("Yes")
else:
    print("No")

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

Submission status: Wrong Answer

Solution code:
abc = input().split()
intlist = [int(s) for s in abc]
a,b,c = intlist[0],intlist[1],intlist[2]
print("abc",a,b,c)
if (a == b & a != c) | (a == c & a != b) | (b == c & c != a):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

nums.sort()


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 = input()
for i in  a:
    b = [j for j in a if i == j]
    if len(b) == 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 (a==c and c!=b) or (c==b and b==a):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b, c  = map(int,input().split())
if ( a == b != c | a != b == c | a == c != b):
    print('yes')
else:
    print('no')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input().split()
  
if(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:
x, y, z = input().split(" ")
a = int(x)
b = int(y)
c = int(z)
poor = False
if a == b == c:
    print('no')
else:
    if a == b:
        poor = not poor

    if a == c:
        poor = not poor

    if b == c:
        poor = not poor

    if poor:
        print('yes')
    else:
        print('no')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


def main():
    if (N[0] == N[1]) and (N[1] == N[2]):
        return 'Yes'

    if (N[0] != N[1]) and (N[1] != N[2]):
        return 'Yes'

    return 'No'


print(main())

Submission status: Wrong Answer

Solution code:
a = input().split()
  
if(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:
N =[int(i) for i in input().split(" ")]
count=0
print(N)
for j in range(len(N)-1):
    for k in range(j+1,len(N)):
        if N[j]==N[k]:
            count += 1
print(count)
if count==1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
l = str(input()).split()

a = l[0]
b = l[1]
c = l[2]

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

Submission status: Wrong Answer

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


def main():
    if (N[0] == N[1]) and (N[1] == N[2]):
        return True

    if (N[0] != N[1]) and (N[1] != N[2]):
        return True

    return False


print(main())

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
li = list(map(int,input().split()))
a = set(li)
if len(a) < 3:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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



for i in range(0,2):
    if A == B:
        if A == C:
            print("No")
        else:
            print("Yes")
    else :
        if B == C:
            if B == A:
             print("No")
            else:
             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('No')
    else:print('Yes')
elif 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):
    count += 1
if(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())
 
r = 0
r += 1 if a == b else 0
r += 1 if a == c else 0
r += 1 if b == c else 0
 
if r == 1:
    print('Yse')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import sys #sys.stdin.readline()
import heapq #heap
from collections import defaultdict
fastinp = lambda: sys.stdin.readline().split(' ')[0].split('\n')
inp = lambda: input().split(' ')
ml = lambda x, y=int: list(map(y, x))
debug = lambda *args: print(*args, sep=' | ')
n = int(fastinp()[0])
hmap = defaultdict(int)
for i in range(n):
    hmap[fastinp()[0]] += 1
m = 0
for k, v in hmap.items():
    m = max(m, v)
list = []
for k, v in hmap.items():
    if v == m:
        list.append(k)
print(*sorted(list), sep='\n')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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


A=a-b 
B=a-c


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

Submission status: Wrong Answer

Solution code:
def solve():
    A = list(map(int,input().split()))
    for i in range(3):
        if sum(x==A[i] for x in A) == 1:
            continue
        elif sum(x==A[i] for x in A) ==2:
            print("Yes")
            return
    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!=c and c!=b:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=(int(x) for x in 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 b != a:
        print('yes')
    else:
        print("no")
else:
    print("no")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
set1 = set(map(str, input().split()))

if len(set1) == 3 & len(set1) == 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:
    print("Yes")
elif A == B or A == C or B == C:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
X, Y, Z = input("Enter a three value: ").split() 
if (X == Y) or (X == Z) or (Y == Z):
  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") 
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def solve():
    A = list(map(int,input().split()))
    print(A)
    for i in range(3):
        if sum(x==A[i] for x in A) == 1:
            continue
        elif sum(x==A[i] for x in A) ==2:
            print("Yes")
            return
    print("No")

solve()

Submission status: Wrong Answer

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
s=list(input())

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
# coding: utf-8
from fractions import gcd 
from functools import reduce
import sys
sys.setrecursionlimit(200000000)
from inspect import currentframe


# my functions here!
#標準エラー出力
def printargs2err(*args):
    names = {id(v):k for k,v in currentframe().f_back.f_locals.items()}
    print(', '.join(names.get(id(arg),'???')+' : '+repr(arg) for arg in args),file=sys.stderr)
def debug(x):
    print(x,file=sys.stderr)
def printglobals():
    for (symbol, value) in globals().items():
        print('symbol="%s"、value=%s' % (symbol, value),file=sys.stderr)
def printlocals():
    for (symbol, value) in locals().items():
        print('symbol="%s"、value=%s' % (symbol, value),file=sys.stderr)


#入力（後でいじる）
def pin(type=int):
    return map(type,input().split())
#どっかで最悪計算量の入力データを用意する関数を作ろう？
"""
愚直に操作を実装する

#solution:
N=int(input())
S=[input() for i in range(N)]
import collections as cl
#print(S)
a=cl.Counter(S)
b=(a.most_common())
#print(b)
maxvalue=b[0][1]
ans=[]
for i in range(len(b)):
    if b[i][1] == maxvalue:
        ans.append(b[i][0])
for w in sorted(ans):
    print(w)
"""
A,B,C=pin()
if A==B or B==C or C==A:
    print("Yes")
else:print("No")
#print([["NA","YYMM"],["MMYY","AMBIGUOUS"]][cMMYY][cYYMM])

Submission status: Wrong Answer

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

def poor():
    if A == B:
        if A != C:
            return "Yes"
    elif A == C:
        if A != B:
            return "Yes"
    return "No"

print(poor())

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c=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 b != a:
        print('yes')
    else:
        print("no")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
from sys import stdin,stdout
def main():  	
	for x in stdin:
		A = list(map(int,x.split()))
		A.sort()
		if A[0]==A[1] and A[1]!=A[2]:print('Yes')
		else:print('No')

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
s = list(map(int, input().split()))
if len(list(set(s))) == 1 or len(list(set(s))) == 3:
    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("No")
    else:
        print("Yes")
else:
    print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
print(c)
for k in c:
  b += 1
  if k == 2:
    print("Yes")
    break
  elif b == 3:
    print("No")
  elif k == 3:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
s = list(map(int, input().split()))
if len(list(set(s))) == 1 or len(list(set(s))) == 3:
    print('NO')
else:
    print('Yes')
print(set(s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

def has_duplicates(seq):
    return len(seq) != len(set(seq))
if has_duplicates(N):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s = 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:
import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
print(c)
for k in c:
  b += 1
  if k == 2:
    print("Yes")
    break
  elif b == 3:
    print("No")
  elif c == 3:
    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=input().split()
ans="Yes"
if a!=b and b!=c and c!=a:
  ans="No"
if a==b==c:
  ans="No"

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
abc = input().split()
intlist = [int(s) for s in abc]
if intlist[0] == intlist[1] & intlist[1] != intlist[2]:
    print("Yes")
elif intlist[0] == intlist[2] & intlist[1] != intlist[0]:
    print("Yes")
elif intlist[1] == intlist[2] & intlist[0] != intlist[1]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from sys import stdin,stdout
def f(i,j,n,mat):
	ans = -1
	for k in range(n):
		ans += mat[i][k]+mat[k][j]
	return ans

def main():  	
	for x in stdin:
		A = list(map(int,x.split()))
		A.sort()
		if A[0]==A[1] and A[1]!=A[2]:print('Yes')
		else:print('No')

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
print(c)
for k in c:
  b += 1
  if k == 2:
    print("Yes")
    break
  elif b == 3:
    print("No")
  elif c == c:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

num=set(input_line)

if num==2:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

cnt = 0

if A == B:
    cnt += 1
if B == C:
    cnt += 1
if C == A:
    cnt += 1
    
if cnt == 0 or 3:
    print('No')

if cnt == 1:
    print('Yes')

Submission status: Wrong Answer

Solution code:
set1 = set(map(str, input().split()))

if len(set1) == 3:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
import collections
k=collections.Counter(list(map(int,input().split())))
if len(k) == 3:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = [x for x in input().split()]
print(num)
ans = 0
if num[0] == num[1]:
  ans = ans + 1
if num[0] == num[2]:
  ans = ans + 1
if num[1] == num[2]:
  ans = ans + 1

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

def abc(a,b,c):
  if a==b:
    if a!=c:
      return "Yes"
    else:
      return "No"
  else:
    if a==c:
      return "Yes"
    elif b==c:
      return "Yes"

print(abc(a,b,c))

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 and b != c:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
x = input()

A, B, C = x.split(' ')

count = 0
if A == B:
    count += 1
if B == C:
    count += 1
if count == 1:
    print('yes')
else:
    if A == C:
        print('yes')
    else:
        print('no')

Submission status: Wrong Answer

Solution code:
A,B,C = map(int,input().split())
if A!=B 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=input().split()
if a == b:
    if a != c:
        print('yes')
    else:
        print("no")
elif a == c:
    if a != b:
        print('yes')
    else:
        print("no")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
nums = [int(e) for e in input().split()]
for i in range(3):
    if nums[i] == nums[(i+1)%3]:
        print("Yes")
        break
    else:
        continue
    print("no")

Submission status: Wrong Answer

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

if min(a) == max(a):
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

Solution code:

ABC = input().split()

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

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

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

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

Submission status: Wrong Answer

Solution code:
#coding utf-8

def main():
    question_a()

def question_a():
    abc = list(map(int,input().split()))
    flg = False
    if abc[0] == abc[1] or abc[0] == abc[2]:
        if abc[1] != abc[2]:
            print("Yes")
            flg = True
    if flg == False:
        print("No")

main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

print(nums)

if len(set(nums)) == 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 = map(int, input().split())

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

Submission status: Wrong Answer

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

if i[0]==i[1]:
  if i[1]!=i[2]:
    print("YES")
  else:
    print("NO")
elif i[0]==i[2]:
  print("YES")
elif i[1]==i[2]:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
if a==b:
    if a==c:
        print("No")
    else:
        print("Yes")
elif 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:
import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
for k in c:
  b += 1
  if k == 2:
    print("Yes")
    break
  elif b == 3:
    print("No")

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split(" ")))
count=0
if A[0]==A[1]:
    count += 1
if A[0]==A[2]:
    count+=1
if A[1]==A[2]:
    count += 1

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

Submission status: Wrong Answer

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

min_num = min(Input_ar)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if(int(len(set(c)) == 1)):
    print("No")
elif(int(len(set(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:
    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:
alf=list(map(int,input().split()))
if(alf[0]!=alf[1] and alf[1]!=alf[2] and alf[0]!=alf[2]):
    print("NO")
elif(alf[0]==alf[1] and alf[2]==alf[1] and alf[0]==alf[2]):
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

list = (0, b - a, c - a)
cnt = 0
for i in list:
    if i == 0:
       cnt += 1

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sun Feb 16 20:59:44 2020

@author: W_Indicate
"""

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:
i = list(map(int, input().split()))
s = set(i)
if len(s) == 1:
    print("No")
elif len(i) == len(s):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
count=0
if(a==b):
    count+=1
if(b==c):
    count+=1
if(c==a):
    count+=1

if(count==1):
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

for line in sys.stdin:
  A, B, C = [int(s) for s in line.split()]
    
if (A - B) * (B - C) * (C - A) == 0 and (A - B) + (B - C) + (C - A) == 2:
  print("Yes")
else:
  print("No")