Hexagon and Rhombic Dominoes#5664

Hexagon and Rhombic Dominoes

1 secondo
64 megabyte
Molto facile

A regular hexagon with side length is divided into 6n^2 unit triangles.

Your task is to cover it with rhombic dominoes — pieces composed of two unit triangles sharing a side.

Each domino must be placed in such a way, that it covers exactly two unit triangles. No triangle must be covered with more than one domino.

Count the number of ways to do so. For example there are two ways to cover a hexagon with side length , they are shown on the picture.

Input

Input file contains (1 \le n \le 7).

Output

Output the number of ways to cover hexagon with rhombic dominoes.

Esempi

Esempio 1

Loading
Loading