if input()>=input(): print('YES') else: print('NO')