import math

def main():
  A, B, C = map(int, input().split())
  
  if A == B and B != C:
    print('Yes')
  elif A == C and A != B:
    print('Yes')
  elif B == C and B != A:
    print('Yes')
  else:
    print('No')
  
  
main() import math math def main():
  A, B, C = map(int, input().split())
  
  if A == B and B != C:
    print('Yes')
  elif A == C and A != B:
    print('Yes')
  elif B == C and B != A:
    print('Yes')
  else:
    print('No')
  
   main A, B, C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C if A == B and B != C:
    print('Yes')
  elif A == C and A != B:
    print('Yes')
  elif B == C and B != A:
    print('Yes')
  else:
    print('No')
  
   A == B and B != C A == B A B B != C B C print('Yes') print 'Yes' elif A == C and A != B:
    print('Yes')
   A == C and A != B A == C A C A != B A B print('Yes') print 'Yes' elif B == C and B != A:
    print('Yes')
   B == C and B != A B == C B C B != A B A print('Yes') print 'Yes' print('No') print 'No' main() main def main():
  A, B, C = map(int, input().split())
  
  if A == B and B != C:
    print('Yes')
  elif A == C and A != B:
    print('Yes')
  elif B == C and B != A:
    print('Yes')
  else:
    print('No')
  
   def main():
  A, B, C = map(int, input().split())
  
  if A == B and B != C:
    print('Yes')
  elif A == C and A != B:
    print('Yes')
  elif B == C and B != A:
    print('Yes')
  else:
    print('No')
  
   main
import math

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