Perimeter and Area 2
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Calculate the perimeter and area of a square given the length of its side a.
Input
An integer representing the length of the square's side a.
Output
The perimeter and area of the square.
Examples
Input #1
Answer #1
Submissions 22K
Acceptance rate 50%