Why it is giving WA for FN

, ,

Why it is giving wa for fn (fabonici number)
ques link —http://www.codechef.com/OCT13/problems/FN/
my soln — http://ideone.com/1OwuMo

can u suggest sme changes so that it cn be accepted