David's submission of Good Subsequences | CodeChef