import os, sys, re, math

(A, B, C) = [int(n) for n in input().split()]

if (A == B and B != C) or (A == C and A != B) or (B == C and A != B):
    print('Yes')
else:
    print('No') import os, sys, re, math os sys re math int(n) for n in input().split() for n in input().split() n input().split() ().split () input split for n in input().split() int(n) int n (A, B, C) = [int(n) for n in input().split()] (A, B, C) A B C [int(n) for n in input().split()] if (A == B and B != C) or (A == C and A != B) or (B == C and A != B):
    print('Yes')
else:
    print('No') (A == B and B != C) or (A == C and A != B) or (B == C and A != B) (A == B and B != C) or (A == C and A != B) A == B and B != C A == B A B B != C B C A == C and A != B A == C A C A != B A B B == C and A != B B == C B C A != B A B print('Yes') print 'Yes' print('No') print 'No'
import os, sys, re, math

(A, B, C) = [int(n) for n in input().split()]

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