import sequtils, strutils var a,b:int (a, b) = readLine(stdin).split.map(parseInt) var res = b div a if not(b mod res == 0): echo "NO" else: echo res