Problem2211--流感

2211: 流感

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

Description

流感来了。流感的传染性很强。一个流感病人一轮会传染x个人,假定传染的人都不重复。如果有一个人得了流感,问n轮后,有多少人被传染了。

Input

两个数,x和n。

Output

n轮后被传染的总人数

Sample Input Copy

10 2

Sample Output Copy

121

HINT

1<=x和n<=10

Source/Category