2775: PTK04 长方形周长

Memory Limit:256 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

长方形的长是a,宽是b,如下图所示,长方形的周长 = (a + b) * 2。 ![](https://s1.ax1x.com/2023/08/21/pPGbubd.png) 输入两个整数a和b,分别代表长方形的长和宽,输出长方形的周长。

Input

输入: 第一行一个整数a,代表长方形的长; 第二行一个整数b,代表长方形的宽。 注意: input()输入函数的括号中不加任何信息。

Output

Sample Input Copy

3
2

Sample Output Copy

10

HINT