SQNUMBF - Editorial

I think that I am the unluckiest creature on the earth.

Can some pure soul created by GOD can help me in debugging my code.

LINK

P.S.:- I am getting WA in last task of last subtask and unable to upload image due to less reputation.