Every season at the pearl fisheries of Nacre Bay, someone must tally the donation drive. This year the task falls to Yusuf, armed only with the sigils register. Task: Read a lowercase string s and print the character that occurs most often. If several tie, print the alphabetically smallest. Input format: One line with a single lowercase string s. Output format: Print a single character. Constraints: 1 <= |s| <= 938; s contains lowercase English letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 938; s contains lowercase English letters.
