def main():
    a, b, c = (int(i) for i in input().rstrip().split(' '))
    print('No' if (a == b == c) or ((a != b) and (a != c) and (b != c)) else 'Yes')


if __name__ == '__main__':
    main() def main():
    a, b, c = (int(i) for i in input().rstrip().split(' '))
    print('No' if (a == b == c) or ((a != b) and (a != c) and (b != c)) else 'Yes') main int(i) for i in input().rstrip().split(' ') for i in input().rstrip().split(' ') i input().rstrip().split(' ') ().rstrip().split ().rstrip() ().rstrip () input rstrip split ' ' for i in input().rstrip().split(' ') int(i) int i a, b, c = (int(i) for i in input().rstrip().split(' ')) a (int(i) for i in input().rstrip().split(' ')) b c print('No' if (a == b == c) or ((a != b) and (a != c) and (b != c)) else 'Yes') print 'No' if (a == b == c) or ((a != b) and (a != c) and (b != c)) else 'Yes' (a == b == c) or ((a != b) and (a != c) and (b != c)) a == b == c a == b a b c (a != b) and (a != c) and (b != c) (a != b) and (a != c) a != b a b a != c a c b != c b c 'No' 'Yes' if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    a, b, c = (int(i) for i in input().rstrip().split(' '))
    print('No' if (a == b == c) or ((a != b) and (a != c) and (b != c)) else 'Yes') def main():
    a, b, c = (int(i) for i in input().rstrip().split(' '))
    print('No' if (a == b == c) or ((a != b) and (a != c) and (b != c)) else 'Yes') main
def main():
    a, b, c = (int(i) for i in input().rstrip().split(' '))
    print('No' if (a == b == c) or ((a != b) and (a != c) and (b != c)) else 'Yes')


if __name__ == '__main__':
    main()
