Perimeter and area
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the perimeter and the area of rectangle, if we know the lengths of its sides.
Input
Two integers a and b (a, b ≤ 10^9
) - the lengths of rectangle sides.
Output
Print the perimeter and the area of rectangle.
Examples
Input #1
Answer #1
Submissions 37K
Acceptance rate 37%