Kevin Sun's submission of Beautiful Subsequence | CodeChef