Given a text we want to know the most frequent lowercase letter. Write a program that given a text prints the most frequent lowercase letter and its frequency among all lowercase letters. You can use the method islower() to check if a character is a lowercase letter. For instance, all threee expressions ’=’.islower(), ’9’.islower() and ’A’.islower() evaluate to False. On the contrary, ’a’.islower() is True.
Input
Input is a text of characters. The input text has at least one lowercase letter.
Output
The most frequent lowercase letter and its frequency among all lowercase letters. If several lowercase letters achieve the maximum frequency, the program has to print the lower one under the usual string order.
Input
John Steinbeck: *****The Grapes of Wrath***** *****East of Eden*****
Output
e 5
Input
Xxyx9999yaaYYYY
Output
a 2