import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
A,B,C = map(int, readline().split())
if (A == B and B != C) or (B == C and C != A) or (A == C and C != B):
    print('Yes')
else:
    print('No') import sys sys read = sys.stdin.buffer.read read sys.stdin.buffer.read sys.stdin.buffer sys.stdin sys stdin buffer read readline = sys.stdin.buffer.readline readline sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline readlines = sys.stdin.buffer.readlines readlines sys.stdin.buffer.readlines sys.stdin.buffer sys.stdin sys stdin buffer readlines A,B,C = map(int, readline().split()) A map(int, readline().split()) map int readline().split() ().split () readline split B C if (A == B and B != C) or (B == C and C != A) or (A == C and C != B):
    print('Yes')
else:
    print('No') (A == B and B != C) or (B == C and C != A) or (A == C and C != B) (A == B and B != C) or (B == C and C != A) A == B and B != C A == B A B B != C B C B == C and C != A B == C B C C != A C A A == C and C != B A == C A C C != B C B print('Yes') print 'Yes' print('No') print 'No' A,B,C = map(int, readline().split()) map(int, readline().split()) A read = sys.stdin.buffer.read sys.stdin.buffer.read read B,C = map(int, readline().split()) map(int, readline().split()) B readlines = sys.stdin.buffer.readlines sys.stdin.buffer.readlines readlines readline = sys.stdin.buffer.readline sys.stdin.buffer.readline readline C = map(int, readline().split()) map(int, readline().split()) C
import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
A,B,C = map(int, readline().split())
if (A == B and B != C) or (B == C and C != A) or (A == C and C != B):
    print('Yes')
else:
    print('No')