Honeycomb#5092

Honeycomb

1 second
128 megabytes
Medium (≈1350)

A bee, moving inside a honeycomb, can move as shown in the figure:

Input

The number of hexagons n~(1 \le n \le 45) in the upper row is given. The lower row contains one hexagon fewer.

Output

Print the number of ways in which the bee can reach the last cell of the upper row starting from the first cell of the same row.

Examples

Example 1

Loading
Loading

Example 3

Loading
Loading