kailash's submission of Count Sequences | CodeChef