Chaithanya Shyam's submission of Beautiful Subsequence | CodeChef