harsh ranjan's submission of Yet Another Problem On Sequences | CodeChef