n = int(input()) for i in range(1, n + 1): if n%i == 0: print(i, "times", n//i, "equals", n)