Mihai plan watch movie he like palindromic movie wants skip possibly zero scene remain part movie palindromicYou give list s n nonempty string length 3 represent scene Mihais movieA subsequence s call awesome nonempty concatenation string subsequence order palindromecan help Mihai check awesome subsequence sA palindrome string read backward forward example string z aaa aba abccba palindromes string codeforce reality ab nota sequence nonempty subsequence nonempty sequence b obtain b deletion possibly zero element