Square Root

Given an integer N with up to 800 digits whose square root is a whole number, print that square root.

Medium7MathBinary searchImplementationNo attempts yetTime limit2sMemory limit512 MB

Problem

Given an integer NN, write a program that computes the square root of NN.

Input

The first line contains a positive integer NN. The square root of NN is always an integer, and NN has at most 800 digits.

Output

Print the square root of NN on the first line.