from itertools import *

for a,b,c in permutations( map(int, input().split()), 3):
    if a==b and b != c:
        print("Yes")
        exit()

print("No") from itertools import * for a,b,c in permutations( map(int, input().split()), 3):
    if a==b and b != c:
        print("Yes")
        exit() a b c permutations( map(int, input().split()), 3) permutations map(int, input().split()) map int input().split() ().split () input split 3 if a==b and b != c:
        print("Yes")
        exit() a==b and b != c a==b a b b != c b c print("Yes") print "Yes" exit() exit print("No") print "No"
from itertools import *

for a,b,c in permutations( map(int, input().split()), 3):
    if a==b and b != c:
        print("Yes")
        exit()

print("No")
