The block of a string at position is the longest substring of that starts at position and matches the prefix of . The length of the block at position is considered to be zero.
Find the length of the largest block for the given string .
The only input line contains the string (|S| \leq 10^6).
Print the length of the largest block of the string .
Example 1