using System.Numerics; public class Program { public static void Main() { //int num = int.Parse(Console.ReadLine() ?? string.Empty); string[] str = (Console.ReadLine() ?? string.Empty).Trim().Split(' '); //string str = Console.ReadLine() ?? string.Empty; int boy = int.Parse(str[0]) + 1; int girl = int.Parse(str[1]); if (boy<= girl) { Console.WriteLine("YES"); string h = (boy - girl).ToString().Replace("-", ""); Console.WriteLine(h); } else { Console.WriteLine("NO"); string h = (boy - girl).ToString().Replace("-", ""); Console.WriteLine(h); } } }