#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 (NN chocolates in total, 0<N<200 < N < 20). 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 N=1N = 1, Mingming eats it on the 11st day, so there is 11 way;
  • If N=2N = 2, Mingming can eat 11 on day 11 and 11 on day 22, or eat 22 on day 11, so there are 22 ways;
  • If N=3N = 3, Mingming can eat 11 on day 11 leaving 22, or eat 22 on day 11 leaving 11, so he has 2+1=32 + 1 = 3 ways in total;
  • If N=4N = 4, Mingming can eat 11 on day 11 leaving 33, or eat 22 on day 11 leaving 22, so there are 3+2=53 + 2 = 5 ways in total.

Now given NN, write a program to compute the number of ways Mingming can eat the chocolates.

Input Format

One line: the integer NN.

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.