atcoder#ABC239A. [ABC239A] Horizon

[ABC239A] Horizon

Score : 100100 points

Problem Statement

Assuming that the horizon seen from a place xx meters above the ground is x(12800000+x)\sqrt{x(12800000+x)} meters away, find how many meters away the horizon seen from a place HH meters above the ground is.

Constraints

  • 1H1051 \leq H \leq 10^5
  • HH is an integer.

Input

Input is given from Standard Input in the following format:

HH

Output

Print the answer. Your answer will be considered correct when the absolute or relative error from the judge's answer is at most 10610^{-6}.

333
65287.907678222

We have 333(12800000+333)=65287.9076782\sqrt{333(12800000+333)} = 65287.9076782\ldots. Outputs such as 65287.91 would also be accepted.

634
90086.635834623

We have 634(12800000+634)=90086.6358346\sqrt{634(12800000+634)} = 90086.6358346\ldots.