Square of Fortune#12336

Square of Fortune

1 second
128 megabytes
Very easy

A real number is chosen uniformly at random from the segment . The player's reward equals the square of the chosen number: W = x^2.

Compute the expected value of the reward.

Input

One real number n~(0 \le n \le 10^6).

Output

Print the expected value of the reward with at least decimal digits.

Examples

Example 1

Loading
Loading