string str = Console.ReadLine();
int[] count = new int[26];
for(int i = 0; i < 26; i++)
{
count[i] = 0;
}
for(int i = 0; i < str.Length; i++)
{
count[str[i] - 'a']++;
}
int maxi = 0;
for(int i = 1; i < 26; i++)
{
if (count[i] > count[maxi]) maxi = i;
}
Console.WriteLine("出现次数最多的字母:" + (char)('a' + maxi) + ",出现次数:" + count[maxi]);