while True: try: A,B = map(int,input().split(' ')) min1 = min(A,B) max1 = max(A,B) for i in range(1,min1+1): if i * max1 % min1 == 0...