T7. More often than others
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Given a non-empty string composed solely of letters from the Latin alphabet, identify the letter that occurs most frequently. Treat uppercase and lowercase versions of the same letter as identical. If there is a tie, select the letter that appears first in alphabetical order. Present your answer in uppercase.
Constraints
The input string's length will not exceed 100 characters.
Input Format
The input consists of a single line containing the string.
Output Format
Output a single line with the solution to the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 218
Acceptance rate 60%