Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/kvadrat-ildiz

Square root

Easy 1000 ms 64 MB 14%
Share

A positive integer $n$ is given. Find its square root $\sqrt{n}$.

A square of area n; its side is the answer

Input

One positive integer $n$.

Output

One number — $\sqrt{n}$, with exactly 3 digits after the decimal point (for example, 1.414).

Note

$1 \le n \le 10^{9}$

Examples

Input #1
2
Output #1
1.414
Input #2
4
Output #2
2.000

Sign in to submit a solution

Signing up is free and takes a minute.