man, woman = gets.chomp.split.map(&:to_i) man += 1 amari = (man - woman).abs ans = man <= woman ? 'YES' : 'NO' puts ans puts amari