Problem4491--切蛋糕

4491: 切蛋糕

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

一个圆型的蛋糕,切 lns="http://www.w3.org/1998/Math/MathML">n 刀后,最多能将蛋糕分成多少块?当 lns="http://www.w3.org/1998/Math/MathML">n=3 时,最多可以分成 lns="http://www.w3.org/1998/Math/MathML">7

 块,如下图:


Input

  • 单个整数:表示切割的次数 lns="http://www.w3.org/1998/Math/MathML">n

Output

  • 单个整数:表示最多能将蛋糕切成多少份。

Sample Input Copy

1

Sample Output Copy

2

Source/Category