dataa,datab=input().split() if DataA <= DataB: print("YES") else: print("NO")