LearnPy Hub
← Arena
EasyRating 900

Integer Square Root

Print the largest integer x with x² ≤ n.

Input

One integer n (0 ≤ n ≤ 10¹⁸).

Output

One integer.

Sample 1

Input
10
Output
3

Sample 2

Input
16
Output
4
solution.py
Output appears here
Integer Square Root · Python Arena problem · LearnPy Hub