XY's submission of Good Subsequences | CodeChef