eolymp
bolt
Try our new interface for solving problems
Problems

Square

Square

Find the perimeter and the area of a square.

Input

Each line is a separate test case that contains one integer - the length of a square side n (1n1000).

Output

For each test case print in one line the perimeter and the area of a square.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3
5
10
Output example #1
12 9
20 25
40 100