#P385. 【例67.2】 昆虫繁殖

【例67.2】 昆虫繁殖

Description

Scientists have discovered a special insect in the tropical forest with strong reproductive ability. Each pair of adult insects lays yy pairs of eggs every xx months, and each pair of eggs takes two months to mature into adults. Assume that no adult dies, there is only one pair of adults in the first month, and newly matured adults do not lay eggs in their first month (they lay eggs after xx months). How many pairs of adults are there after zz months? 1x201\leq x\leq 20, 1y201\leq y\leq 20, x<z50x < z \leq 50.

Input Format

Values of xx, yy, and zz.

Output Format

The number of pairs of adults after zz months.

Sample

1 2 8
37