coder_penguin's submission of Beautiful Subsequence | CodeChef