A palindrome is a sequence that reads the same backwards as forwards, e.g. madam.
Your task here is to find the length of longest substring which is pallindrome in the given string.
INPUT:
OUTPUT:
Print T lines - maximum length of palindromic substring.
CONSTRAINTS: