WA in SCHEME01

Problem- [https://www.codechef.com/problems/SCHEME01](https://www.codechef.com/problems/SCHEME01)
My solution-https://www.codechef.com/viewsolution/34300412
please help why I m getting wrong answer…