For every given pair of natural numbers and , compute , where is the -th Fibonacci number (starting at 0).
The input consists of several pairs of and . Assume and .
For every given pair, print .
Consider the problem problem://problemsjutge.org:problems/algorismia/divide-and-conquer/eleva-matriu.pbm.
Input
0 100 10 100 10 9 1000 876
Output
0 55 1 411