Write a program that reads a sequence of natural numbers, and prints the square and the square root of each one.

Input

Input consists of a sequence of natural numbers.

Output

For every given number, print in a line its square, and its square root with six digits after the decimal point.

Observation

Use the procedure that your programming language already provides to compute square roots.

Public test cases

**Input**

4 2 1000

**Output**

16 2.000000 4 1.414214 1000000 31.622777

Information

- Author
- Salvador Roura
- Language
- English
- Translator
- Carlos Molina
- Original language
- Catalan
- Other languages
- Catalan
- Official solutions
- C++ Java Pascal Python
- User solutions
- C C++ Java Python Rust