Tiling With 2 * 1 Tiles

easy
1. You are given a number n representing the length of a floor space which is 2m wide. It's a 2 * n board.
2. You've an infinite supply of 2 * 1 tiles.
3. You are required to calculate and print the number of ways floor can be tiled using tiles.

Input Format

A number n

Output Format

A number representing the number of ways in which the number of ways floor can be tiled using tiles.

Constraints

1 <= n <= 100

Notice

Try First, Check Solution later

1. You should first read the question and watch the question video.
2. Think of a solution approach, then try and submit the question on editor tab.
3. We strongly advise you to watch the solution video for prescribed approach.

Example

Input
8
Output
34
Previous
Paint House - Many Colors
Next
Tiling With M * 1 Tiles

Related Questions