Honeycomb#5092

Honeycomb

1 sekunt
128 megabaýt
Orta

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

Giriş

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

Çykyş

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.

Mysallar

1-nji mysal

Loading
Loading

3-nji mysal

Loading
Loading