# A B の値を文字列で受け取る a, b = gets(chomp: true).split boys = a.to_i + 1 girls = b.to_i if boys <= girls puts "Yes" else puts "No" end puts (bosy - girls).abs