After reading editorial from here, I’ve tried to solve this problem. But what is the reason of getting Runtime Error ? Would anybody please tell me ?
My Submission Link