David's submission of Squared Subsequences | CodeChef