import math x=int(input("enter a number: ")) z=int(input("enter a number: ")) factor=False y=x/z if math.floor(y) == y: factor=True else: factor=False if factor: print(x, "is a factor of", z) else: if x % z == 0: print(x, "is a multiple of", z) else: print(x, "is not a multiple neither a factor of",z)