You are given a single string s. Find the length of the longest contiguous block (substring) of s that reads the same forwards and backwards.
Input format
Line 1: the string s (may be empty, producing a blank line).
s contains only lowercase English letters.
Output format
A single integer: the length of the longest palindromic substring of s.
Constraints
- 0 <= |s| <= 40