Write a program that prints the number of sequences made up of exactly zeros and ones that do not contain two consecutive zeros nor three consecutive ones.
For instance, there are 8 sequences for and :
Input consists of several pairs of natural numbers and , each between 0 and 90.
For every pair of and , print the required number.
Input
0 0 1 1 3 4 65 90
Output
1 2 8 2529372610666365912