ri = lambda S: [int(v) for v in S.split()]
def rii(): return ri(input())

A, B, C = rii()

print("Yes" if len(set([A, B, C])) == 2 else "No") int(v) for v in S.split() for v in S.split() v S.split() S.split S split for v in S.split() int(v) int v ri = lambda S: [int(v) for v in S.split()] ri lambda S: [int(v) for v in S.split()] [int(v) for v in S.split()] S def rii(): return ri(input()) rii A, B, C = rii() A rii() rii B C print("Yes" if len(set([A, B, C])) == 2 else "No") print "Yes" if len(set([A, B, C])) == 2 else "No" len(set([A, B, C])) == 2 len(set([A, B, C])) len set([A, B, C]) set [A, B, C] A B C 2 "Yes" "No" C = rii() rii() C ri = lambda S: [int(v) for v in S.split()] lambda S: [int(v) for v in S.split()] ri A, B, C = rii() rii() A def rii(): return ri(input()) def rii(): return ri(input()) rii B, C = rii() rii() B
ri = lambda S: [int(v) for v in S.split()]
def rii(): return ri(input())

A, B, C = rii()

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