Shivam Kumar Singh's submission of Stable Sequence | CodeChef