print(["NO","YES"][input()>=input()])