#t314. 吃糖果
吃糖果
Background
Special for beginners, ^_^
Eating Chocolates
Problem Description
Mingming's mother came back from a business trip and brought him a beautiful box of delicious chocolates ( chocolates in total, ). She told Mingming he could eat one or two chocolates each day. Assuming Mingming eats chocolate every day, in how many different ways can he finish all the chocolates?
For example:
- If , Mingming eats it on the st day, so there is way;
- If , Mingming can eat on day and on day , or eat on day , so there are ways;
- If , Mingming can eat on day leaving , or eat on day leaving , so he has ways in total;
- If , Mingming can eat on day leaving , or eat on day leaving , so there are ways in total.
Now given , write a program to compute the number of ways Mingming can eat the chocolates.
Input Format
One line: the integer .
Output Format
One line: the number of ways Mingming can eat the chocolates.
Sample Input
4
Sample Output
5
Constraints
1s, 1024KiB for each test case.