A = input() B = input() if A <= B: print('Yes') else: print('No')