a,b,c,d=map(int,input().split()) if ad: print('Yes') else : print('No')