#K35832. Highest Frequency Character Count

    ID: 25619 Type: Default 1000ms 256MiB

Highest Frequency Character Count

Highest Frequency Character Count

Given a string S, your task is to determine the frequency of the character that appears the most frequently in S. If the string is empty, the answer is 0.

Note: The frequency is defined as the number of occurrences of a certain character. For example, in the string "aabbcc", every character appears exactly 2 times, so the output should be 2.

inputFormat

The input consists of a single line containing the string S. The string can include any visible characters. An empty string is allowed.

outputFormat

Output a single integer denoting the highest frequency of any character in the string S. The result should be printed in a single line.

## sample
aabbcc
2