An interesting subsequence | CodeChef