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

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

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

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

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

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

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

Solution (Python):
if __name__ == '__main__':
    a,b,c = input().split()
    if not a == b == c:
        if a == b:
            print('Yes')
        elif b == c:
            print('Yes')
        elif a == c:
            print('Yes')
        else:
            print('No')
    else:
        print('No')

Solution (Python):
A = [int(i) for i in input().rstrip().split()]
if len(set(A)) == 2:
    print("Yes")
else:
    print("No")

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

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

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

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

Solution (Python):
A = list(map(int,input().split()))
A.sort()
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")

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

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

def solve():
    if a[0] == a[1] and a[0] != a[2]:
        return True
    if a[0] != a[1] and a[1] == a[2]:
        return True
    return False

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

Solution (Python):
A,B,C=map(int,input().split())
if len({A,B,C})==2:
    print('Yes')
else:
    print('No')

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

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

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

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

Solution (Python):
a,b,c = map(int, input().split())
print("Yes" if len(set({a,b,c})) == 2 else "No")

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

Solution (Python):
def solve(a, b, c):
    return "Yes" if len(set([a,b,c])) == 2 else "No"

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

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

Solution (Python):

l=map(int,raw_input().split())
if len(set(l))==2:
 print 'Yes'
else:
 print 'No'

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

Solution (Python):
print('Yes' if len(set(input().split())) == 2 else 'No')

Solution (Python):
A, B, C = map(int, input().split())
s = {A, B, C}
if len(s) == 2:
    print("Yes")
else:
    print("No")

Solution (Python):
a, b, c = input().split(' ')
if len({ a, b, c }) == 2:
    print("Yes")
else:
    print("No")

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

Solution (Python):
def main():
    a, b, c = map(int, input().split())

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


if __name__ == '__main__':
    main()

Solution (Python):
from collections import Counter;
c = Counter(input().split())
if c.most_common()[0][1] == 2:
    print('Yes')
else:
    print('No')

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

Solution (Python):
import sys
import socket

hostname = socket.gethostname()

if hostname == 'F451C':
    sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def solve():
    A, B, C = read_int_list()
    if A == B == C:
      return 'No'
    if A == B or B == C or C == A:
      return 'Yes'
    return 'No'


def main():
    res = solve()
    print(res)


main()

Solution (Python):

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


if __name__ == "__main__":
    main()

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

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

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

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

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

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

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

Solution (Python):


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


def is_equal(numb1, numb2):
    return numb1 == numb2

numb1, numb2, numb3 = numbs
res = sum([is_equal(numb1, numb2), is_equal(numb1, numb3), is_equal(numb2, numb3)])

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

Solution (Python):
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 i[1] == i[2] and i[0] != i[1]:
    poor = True
if poor:
    print('Yes')
else:
    print('No')

Solution (Python):
abc = [int(i) for i in input().split()]
if len(set(abc)) == 2:
    print("Yes")
else:
    print("No")

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

Solution (Python):



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

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

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

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

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

Solution (Python):
print('YNeos'[len(set(input().split()))!=2::2])

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

Solution (Python):
print('Yes' if len(set(input().split()))==2 else 'No')

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

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

flg = 0

if a != b:
    flg = 1

if a != c:
    flg = 1

if b != c:
    flg = 1

if a != b and a !=c and b != c:
    flg = 0

if flg == 1:
    print('Yes')
else:
    print('No')

Solution (Python):
A=[int(i) for i in input().split()]
A.sort()

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

Solution (Python):

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

l = [a,b,c]

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

Solution (Python):
A = set(input().split())
if len(A) == 2:
  print('Yes')
else:
  print('No')

Solution (Python):

import collections
import itertools as it
import math
import numpy as np









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

l = [a,b,c]

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

Solution (Python):
from bisect import *
from collections import *
from itertools import *
import functools
import sys
import math
from decimal import *
from copy import *
from heapq import *
from fractions import *
getcontext().prec = 30
MAX = sys.maxsize
MAXN = 1000010
MOD = 10**9+7
spf = [i for i in range(MAXN)]
spf[0]=spf[1] = -1
def sieve():
    for i in range(2,MAXN,2):
        spf[i] = 2
    for i in range(3,int(MAXN**0.5)+1):
        if spf[i]==i:
            for j in range(i*i,MAXN,i):
                if spf[j]==j:
                    spf[j]=i
def fib(n,m):
    if n == 0:
        return [0, 1]
    else:
        a, b = fib(n // 2)
        c = ((a%m) * ((b%m) * 2 - (a%m)))%m
        d = ((a%m) * (a%m))%m + ((b)%m * (b)%m)%m
        if n % 2 == 0:
            return [c, d]
        else:
            return [d, c + d]

def charIN(x= ' '):
    return(sys.stdin.readline().strip().split(x))

def arrIN(x = ' '):
    return list(map(int,sys.stdin.readline().strip().split(x)))

def ncr(n,r):
    num=den=1
    for i in range(r):
        num = (num*(n-i))%MOD
        den = (den*(i+1))%MOD

    return (num*(pow(den,MOD-2,MOD)))%MOD

def flush():
    return sys.stdout.flush()

'''*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*'''
a = arrIN()
if len(set(a))==2:
    print('Yes')
else:
    print('No')

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

Solution (Python):

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

l = [a,b,c]

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

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

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

Solution (Python):
nums = []
nums = [int(x) for x in input().split()]

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

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

if len(set((a,b,c))) == 2:
  print('Yes')
else:
  print('No')

Solution (Python):
import sys
input = sys.stdin.readline

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

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

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

Solution (Python):



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

if __name__=='__main__':
  main()

Solution (Python):
import sys
a, b, c = [int(i) for i in sys.stdin.readline().split()]
_set = {a, b, c}
if len(_set) == 2:
    print("Yes")
else:
    print("No")

Solution (Python):
a,b,c = map(int,input().split())
print("Yes" if len({a,b,c})==2 else "No")

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

Solution (Python):
a,b,c = map(int,input().split())
if len(set([a,b,c])) == 2:
    print("Yes")
else:
    print("No")

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

Solution (Python):
a,b,c=input().split()
print("YNeos"[sum((a==b,b==c,c==a))!=1::2])

Solution (Python):
a,b,c = map(int,input().split(' '))
ans = "Yes" if len(set((a,b,c))) == 2 else "No"
print(ans)

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

Solution (Python):
a,b,c = map(int,input().split())
ans = "Yes" if len(set((a,b,c))) == 2 else "No"
print(ans)

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

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

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

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

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

Solution (Python):
import sys


def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    a, b, c = list(map(int, readline().split()))
    if a == b != c or a != b == c or a == c != b:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    solve()

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

Solution (Python):
from collections import Counter, deque, defaultdict
from functools import lru_cache

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

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

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

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

Solution (Python):
print("Yes") if len(set([int(i) for i in input().split()])) == 2 else print("No")

Solution (Python):
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]) and (args[0] != args[1] or args[1] != args[2])):
    ret="Yes"
    
  print(ret)

Solution (Python):
def main():
    a, b, c = map(int, input().split())
    if a == b and b == c:
        print("No")
    elif a == b:
        print("Yes")
    elif b == c:
        print("Yes")
    elif c == a:
        print("Yes")
    else:
        print("No")


def main1():
    if len(set(input().split())) == 2:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main1()

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

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

Solution (Python):
def I(): return int(input())
def MI(): return map(int, input().split())
def LMI(): return list(map(int, input().split()))


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

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

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

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

Solution (Python):
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[1] != Nums[0]: print("Yes");
else: print("No");

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

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

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

Solution (Python):
print("YNeos"[len(set(map(int,input().split())))%2::2])

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

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

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

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

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

Solution (Python):
a = set(map(int, input().split()))

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

Solution (Python):
import numpy as np
 
stdin = open(0)
data = np.fromstring(stdin.read(), np.int32, sep=' ')
A,B,C = data

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

Solution (Python):
s=set(input().split())
print('Yes' if len(s)==2 else 'No')

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

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

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

Solution (Python):
num=list(map(int,input().split()))
print('Yes' if len(num) == len(set(num))+1 else 'No')

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

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

Solution (Python):
a = set( map( int, input().split() ))

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

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

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

Solution (Python):
print('YNeos'[len(set(input()[::2]))&1::2])

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

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

Solution (Python):
"""
A
"""
data=list(map(int,input().split()))
data.sort()
A,B,C=data
if A==B and B!=C:
    print("Yes")
elif A!=B and B==C:
    print("Yes")
else:
    print("No")

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

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

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

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

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

Solution (Python):
A, B, C = list(map(int, input().split()))
vincent = [A,B,C]
vincent1 = list(set(vincent))
if len(vincent1) == 2:
    print("Yes")
else:
    print("No")

Solution (Python):
p = list(map(int, input().split()))
def map_all(es):
    return all([e == es[0] for e in es[1:]]) if es else False
def has_duplicates(seq):
    return len(seq) != len(set(seq))

if map_all(p):
    print('No')
else:
    if has_duplicates(p):
        print('Yes')
    else:
        print('No')

Solution (Python):
a,b,c = map(int, input().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')

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

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

Solution (Python):
import sys
a,b,c = map(int, input().split())
if a == b:
  if a != c:
    print("Yes")
    sys.exit()
  else:
    print("No")
    sys.exit()
elif a == c or b == c:
  print("Yes")
  sys.exit()
print("No")

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

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

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

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

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

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

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

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

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


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


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

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

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

Solution (Python):



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


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 C == A:
	if C == B:
		k += 0
	else:
		k += 1

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


print(kawaisou)

Solution (Python):
a,b,c = map(int, input().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')

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

Solution (Python):
x,y,z = input().split()
if x == y and x == z:
    print("No")
elif x == y or y == z or x == z:
    print("Yes")
else:
    print("No")

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

Solution (Python):
numbers = list(map(int, input().split()))

numbers.sort()

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

Solution (Python):
input_line = input().split(" ")
a = input_line[0]
b = input_line[1]
c = input_line[2]

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

Solution (Python):
nums = input().split()
check = 0
for num in nums:
  if nums.count(num) == 2:
    check = 1

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

Solution (Python):
l=list(input().split())
if len(set(l))==2:
    print("Yes")
else:
    print("No")

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

Solution (Python):
A, B, C = input().split()
if len(set([A, B, C])) == 2:
  print('Yes')
else:
  print('No')

Solution (Python):
num = list(map(int,input().split()))
num.sort()

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

Solution (Python):






st = input().split()
st_list = []
st_list = [str(st) for st in st]










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

Solution (Python):
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')
else:
  print('No')

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

Solution (Python):
a = input()

a = a.split(" ")
for i in range(3):
    a[i] = int(a[i])

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

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

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

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

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

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

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

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

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

Solution (Python):
a,b,c = map(int, input().split())
count = 0
if a==b:
  count = count + 1
if b==c:
  count = count + 1
if c==a:
  count = count + 1
if count == 1:
  print("Yes")
else:
  print("No")

Solution (Python):
a, b, c = map(int, input().split())
s = set([a,b,c])
if len(s) == 2:
    print("Yes")
else:
    print("No")

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

if (len(set({A, B, C})) == 2):
    print("Yes")
else:
    print("No")

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

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

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

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

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

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

Solution (Python):
from sys import stdin


def get_result(data):
    return 'Yes' if len(list(set(data))) == 2 else 'No'

if __name__ == '__main__':
    data = list(map(int, stdin.readline().split(' ')))
    result = get_result(data)
    print(result)

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

Solution (Python):
s = input().split()
if s[0] == s[1] == s[2]:
  print("No")
elif not (s[0] == s[1]) and not (s[1] == s[2]) and not (s[0] == s[2]):
  print("No")
else:
  print("Yes")

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

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

num = 0

if a == b:
    num += 1
if b == c:
    num += 1
if c == a:
    num += 1

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

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

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

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

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

Solution (Python):
l=list(input().split())
lu=list(set(l))
if len(lu)==2:
  print("Yes")
else:
  print("No")

Solution (Python):
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))

Solution (Python):
A,B,C = (int(x) for x in input().split())
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")
else:
    print("No")

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

ans = 'No'

if a == b and a != c:
  ans = 'Yes'
elif a == c and a != b:
  ans = 'Yes'
elif b == c and b != a:
  ans = 'Yes'

print(ans)

Solution (Python):
a = 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")
elif a[1]==a[2] and a[1]!=a[0]:
	print("Yes")
else:
	print("No")

Solution (Python):
s = input().split()
a = int(s[0])
b = int(s[1])
c = int(s[2])

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

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

arr = (A,B,C)
arr_set = set(arr)
arr_len = len(arr_set)

if arr_len == 3 or arr_len == 1:
  print("No")
elif arr_len == 2:
  print("Yes")