n,k = map(int, input().strip().split())
count = 0

if n > k:
    print('YES')
else:
    print('NO')