#2553. 三进制串个数

三进制串个数

三进制串个数

题目描述

长度为 nn 的三进制串由 0,1,20,1,2 组成。请输出这样的串一共有多少个。

输入格式

输入一行,一个整数 nn

输出格式

输出一个整数。

数据范围

0n200\le n\le 20

样例

0
1