Accenture interview question

fibonica series question for coding round