a, b = gets.chomp.split.map &:to_i if a - b >= 0 puts "NO" else puts "YES" end p (a - b + 1).abs