#c221002. 树屋阶梯
树屋阶梯
Treehouse Stairs
Problem Source
AHOI 2012
Problem Description
During the summer holiday, Xiaolong signed up for a mock wilderness survival training class to get fit. On the first night of training, the instructor gave them a tough problem. Because camping on the damp ground is unhealthy, they must camp in a treehouse up high. Xiaolong's treehouse is built on a tree of height chi ( is a positive integer). Just as he was worrying about how to climb up, he noticed a pile of hollow square steel tubes nearby. After observing and measuring, he found that these tubes have different widths and heights in cross-section, but all are integer multiples of chi. The instructor ordered each team member to pick hollow tubes to build a staircase of total height chi leading up to the treehouse. Each step of the staircase is chi high and chi wide. If the tubes come in all sizes and each size is available in unlimited quantity, in how many ways can Xiaolong build the staircase?
For example, with a treehouse height of chi and a staircase height chi, Xiaolong has the ways of building it shown in the figure:

Input Format
One positive integer (), the height of the staircase.
Output Format
One positive integer: the number of ways to build it. (Note: the number of ways may be very large.)
Sample Input
3
Sample Output
5
Hint
For of the data, .