Filling Shapes
시간 제한1초메모리 제한1024 MB
3 x n 격자를 L자 모양 트로미노로 빈칸 없이 채우는 경우의 수를 구한다. n은 60 이하이다.
문제
You have a given integer . Find the number of ways to fill all tiles with the shape described in the picture below. Upon filling, no empty spaces are allowed. Shapes cannot overlap.

This picture describes when . The left one is the shape and the right one is tiles.
입력
The only line contains one integer () --- the length.
출력
Print the number of ways to fill.
힌트
In the first example, there are possible cases of filling.
In the second example, you cannot fill the shapes in tiles.