- Time limit: 1.00 s
- Memory limit: 512 MB
The only input line contains a string of length $n$. Each character is one of a–z.
Print the longest palindrome in the string. If there are several solutions, you may print any of them.
- $1 \le n \le 10^6$