{"problem":{"name":"Frequency","description":{"content":"You are given a string $S$ consisting of lowercase English letters. Find the character that appears most frequently in $S$. If multiple such characters exist, report the one that comes earliest in alp","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc338_b"},"statements":[{"statement_type":"Markdown","content":"You are given a string $S$ consisting of lowercase English letters. Find the character that appears most frequently in $S$. If multiple such characters exist, report the one that comes earliest in alphabetical order.\n\n## Constraints\n\n*   $1 \\leq |S| \\leq 1000$ ($|S|$ is the length of the string $S$.)\n*   Each character in $S$ is a lowercase English letter.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc338_b","tags":[],"sample_group":[["frequency","e\n\nIn `frequency`, the letter `e` appears twice, which is more than any other character, so you should print `e`."],["atcoder","a\n\nIn `atcoder`, each of the letters `a`, `t`, `c`, `o`, `d`, `e`, and `r` appears once, so you should print the earliest in alphabetical order, which is `a`."],["pseudopseudohypoparathyroidism","o"]],"created_at":"2026-03-03 11:01:14"}}