Write a program to find the number of N-letter «words» composed of the letters A, B, C (by «word» we mean any sequence of consecutive letters) such that there are no more than three letters B in them.
The integer $$$N$$$ ($$$1 \le N \le 20$$$).
Output a single integer — the number of «words» that satisfy the condition.
4
80