시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 128 MB53099193791539136.384%

## 문제

3×N 크기의 벽을 2×1, 1×2 크기의 타일로 채우는 경우의 수를 구해보자.

## 입력

첫째 줄에 N(1 ≤ N ≤ 30)이 주어진다.

## 출력

첫째 줄에 경우의 수를 출력한다.

## 예제 입력 1

2


## 예제 출력 1

3


## 힌트

아래 그림은 3×12 벽을 타일로 채운 예시이다.

W3sicHJvYmxlbV9pZCI6IjIxMzMiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWQwYzBcdWM3N2MgXHVjYzQ0XHVjNmIwXHVhZTMwIiwiZGVzY3JpcHRpb24iOiI8cD4zJnRpbWVzO04gXHVkMDZjXHVhZTMwXHVjNzU4IFx1YmNiZFx1Yzc0NCAyJnRpbWVzOzEsIDEmdGltZXM7MiBcdWQwNmNcdWFlMzBcdWM3NTggXHVkMGMwXHVjNzdjXHViODVjIFx1Y2M0NFx1YzZiMFx1YjI5NCBcdWFjYmRcdWM2YjBcdWM3NTggXHVjMjE4XHViOTdjJm5ic3A7XHVhZDZjXHVkNTc0XHViY2Y0XHVjNzkwLjxcL3A+XHJcbiIsImlucHV0IjoiPHA+XHVjY2FiXHVjOWY4IFx1YzkwNFx1YzVkMCBOKDEgJmxlOyBOICZsZTsgMzApXHVjNzc0IFx1YzhmY1x1YzViNFx1YzljNFx1YjJlNC48XC9wPlxyXG4iLCJvdXRwdXQiOiI8cD5cdWNjYWJcdWM5ZjggXHVjOTA0XHVjNWQwIFx1YWNiZFx1YzZiMFx1Yzc1OCBcdWMyMThcdWI5N2MgXHVjZDljXHViODI1XHVkNTVjXHViMmU0LjxcL3A+XHJcbiIsImhpbnQiOiI8cD5cdWM1NDRcdWI3OTggXHVhZGY4XHViOWJjXHVjNzQwIDMmdGltZXM7MTIgXHViY2JkXHVjNzQ0IFx1ZDBjMFx1Yzc3Y1x1Yjg1YyBcdWNjNDRcdWM2YjQgXHVjNjA4XHVjMmRjXHVjNzc0X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