using System; using System.Linq; public class P0485 { public static void Main() { var ab = Console.ReadLine().Trim().Split(' ').Select(int.Parse).ToList(); if(ab[1] % ab[0] == 0) { Console.WriteLine(ab[1] / ab[0]); } else { Console.WriteLine("NO"); } } }