Given:
You plan to retire in 35 years and would like to have 1,000,000$ in investments.
So, the time = 35 years
And A = 1,000,000
compounded daily, n = 365
Rate of the interest = r = 7% = 0.07
We will find the initial investment = P
We will use the following formula:

Substitute with the values of A, r, n, and t

Solve the equation to find P

So, the answer will be $86,313.86