Write a program that prints the number of sequences of length made up of only zeros and ones that do not contain two consecutive zeros nor three consecutive ones.
For instance, there are 7 sequences for :
Input consists of several natural numbers , each between 0 and 150.
For every , print the required number.
Input
0 1 2 3 5 150
Output
1 2 3 4 7 3495391431926239764