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 P61833.
Author: Salvador Roura
Generation: 2026-03-10T19:46:25.995Z
© Jutge.org, 2006–2026.
https://jutge.org