The store warden Gino has been asked to approve the repair estimates. On the desk lies a long table of vaults readings. Task: Print the length of the longest palindromic substring of s. Input format: One line with a string s. Output format: Print the maximum length. Constraints: 1 <= |s| <= 3000; lowercase letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 3000; lowercase letters.
