LearnPy Hub
← Arena
EasyRating 900

Binary Strings

How many binary strings of length n have no two adjacent 1s?

Input

One integer n (1 ≤ n ≤ 80).

Output

A count.

Sample 1

Input
1
Output
2

Sample 2

Input
2
Output
3
solution.py
Output appears here
Binary Strings · Python Arena problem · LearnPy Hub