Given multiple strings composed of only {'A','T','C','G'}.
That is, for any char c in the strings, c == 'A' or c == 'T' or c== 'C' or c== 'G'.
Find the length of the longest palindrome substring in each given string and output its length.
The input consists of multiple test cases.
Each of the test cases contains a string.
It is guaranteed that the length of each given string will not exceed 10000.
For each given string, print the length of the longest palindrome substring of that string, ended with a new line character '\n'.