Long root
Medium
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
For a given natural number a find the largest number b such that b^2 ≤ a.
Input
The positive integer a (a ≤ 10^100).
Output
Print the maximum positive integer b, which square is not greater than a. The number b must be printed without leading zeros.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 19%