e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

Perimeter of rectangle

Perimeter of rectangle

Find the perimeter of rectangle.

Input

The integer sides of rectangle a and b (1a, b1000).

Output

Print the perimeter of rectangle.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3 4
Output example #1
14
Author Mykhailo Medvediev
Balls and Needles