LearnPy Hub
← Arena
EasyRating 900

Dominant Letter

Print the letter that appears most often in the word. If there is a tie, print the one that comes first in the alphabet.

Input

One lowercase word.

Output

One letter.

Sample 1

Input
banana
Output
a

Sample 2

Input
abc
Output
a
solution.py
Output appears here
Dominant Letter · Python Arena problem · LearnPy Hub