# python 9rou.py # -*- coding: utf-8 -*- import sys, io sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8') A = int(input('A:')) B = int(input('B:')) if (B%A) == 0: print(B//A) else: print("NO")