The integer square root of a natural number is a natural number such that but . For instance, the integer square root of 100 is 10, and it is also of 120.
Write a program that reads natural numbers and prints their integer square roots. Your program must include the function
int root (int x);
that returns the integer square root of a natural number .
Input is a sequence of natural numbers.
For each number of the output, print in a line and separated by a space, and its root.
Input
100 120 121 225 226
Output
100 10 120 10 121 11 225 15 226 15