# Your code here! f = gets.chomp.split(" ") m = f[0].to_i w = f[1].to_i d = m + 1 - w if d == 0 p 'YES' else p 'NO' p d end