You are given a string S consisting only of lowercase English letters. Write a program that finds the length of the longest substring of S that is a palindrome.
A palindrome is a string that reads the same forward and backward. A substring is a contiguous part of S.
Input
The first line contains the string S, consisting only of lowercase English letters. The length of S is at most 100000.
Output
Print the length of the longest substring of S that is a palindrome.