abc = set((map(int,input().split())))
print(['No','Yes'][len(abc)==2]) abc = set((map(int,input().split()))) abc set((map(int,input().split()))) set map(int,input().split()) map int input().split() ().split () input split print(['No','Yes'][len(abc)==2]) print ['No','Yes'][len(abc)==2] ['No','Yes'] 'No' 'Yes' len(abc)==2 len(abc) len abc 2 abc = set((map(int,input().split()))) set((map(int,input().split()))) abc
abc = set((map(int,input().split())))
print(['No','Yes'][len(abc)==2])