import sys n,k = map(int,sys.stdin.readline().strip().split()) if k <= n-1: print("YES") else: print('NO')