if d is the smallest positive integer such that 3150 multiplied by d is the square of an integer , then d must be
n0 = 3150.0
t0 = 1.0 + 4.0
t1 = 3.0**min(2.0, 5)
t2 = t0**min(2.0, 5)
t3 = t1 * t2
answer = n0 / t3
print(answer)