chef shifu and celebration - problem

https://www.codechef.com/viewsolution/12404877
where am i going wrong?