My Submission :
I believe that I have provided a proper solution but still I am getting total Score : 0%
I have also posted on the editorial_side of question but still no reply from there .
Provide guidance .
It is wrong on code-chef side to keep the topic hanging for so long .
Many issues are via the code-chef site itself , eg : use try and catch , when using input()
Waiting . . .