import strutils, sequtils let AB = stdin.readLine.split.map parseInt (A, B) = (AB[0], AB[1]) x = B div A [$x, "NO"][int(B mod A != 0)].echo