Problems
Perimeter and area
Perimeter and area
Find the perimeter and the area of rectangle, if we know the lengths of its sides.
Input
Two integers a and b (a, b ≤ 109
) - the lengths of rectangle sides.
Output
Print the perimeter and the area of rectangle.
Input example #1
3 7
Output example #1
20 21