print("YES" if input() <= input() else "NO")