Jovan Bengin's submission of Beautiful Subsequence | CodeChef