Problem K: 等差数列

Problem K: 等差数列

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1163  Solved: 806
[Submit] [Status] [Web Board] [Creator:]

Description

sum=2+5+8+11+14+,输入正整数n,求sum的前n项和。

Sample Input

2

Sample Output

7