Before the gates of the island market of Coralcove close for winter, Innkeeper must finish the labels ledger - one figure at a time. Task: Print the length of the longest run of the same character. Input format: One line with a single lowercase string s. Output format: Print the maximum run length. Constraints: 1 <= |s| <= 1672; s contains lowercase English letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 1672; s contains lowercase English letters.
