CodeLab Academy 📞 9936 6696
← List Python · Level 9: Functions and dicts Code · 90 points ← #802 #804 →

#803. Most common character

Print the character that appears most often in the text (do not count spaces). If there is a tie, print the one that comes first alphabetically. ### Input One line. ### Output One character.

Examples

Input
string forest mouse racecar python noon
Output
o
Input
list number mouse string stats number
Output
s

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!