Easy Fibonacci NZEC Error - September code challenge

Codechef shows NZEC and RTE errors for my code. But it works properly on my computer.
This is the link to my code : https://www.codechef.com/viewsolution/26531864

Plz Help.