Yash recently learn Fibonacci sequence excite he call sequence Fibonacciish sequence consist element f0 f1 arbitrary fn2fn1fn n0 you give sequence integer a1a2an your task rearrange element sequence way long possible prefix fibonacciish sequence