using System; public class Program { static void Main() { string s = Console.ReadLine(); string[] t = s.Split(' '); int A = int.Parse(t[0]); int B = int.Parse(t[1]); if (B % A == 0) { Console.WriteLine(B / A); } else { Console.WriteLine("NO"); } } }