Competitions
PP2. Week 1: March 1 - 7
Perimeter of rectangle
Find the perimeter of rectangle.
Input
The integer sides of rectangle a and b (1 ≤ a, b ≤ 1000).
Output
Print the perimeter of rectangle.
Input example #1
3 4
Output example #1
14
Find the perimeter of rectangle.
The integer sides of rectangle a and b (1 ≤ a, b ≤ 1000).
Print the perimeter of rectangle.
3 4
14