palindrome1 = base[-1] + shortest_palindromes(base[:-1]) + base[-1]