{"code":"15thtbdna2","name":"Tìm ký tự (THT TP 2015)","description":"Nhập vào từ bàn phím một xâu kí tự $S$. Hãy viết ra một kí tự có số lần xuất hiện nhiều nhất trong xâu $S$ (có phân biệt kí tự hoa và kí tự thường).\r\n\r\n**Lưu ý**: Nếu có nhiều kí tự có cùng số lần xuất hiện nhiều nhất trong xâu $S$ thì in ra kí tự xếp theo thứ tự từ điển nhỏ nhất trong xâu đó.\r\n\r\n#### Input\r\n- Dòng đầu tiên và duy nhất chứa 1 xâu $S$ (chỉ gồm các chữ cái trong tập $\\{a,\\dots,z, A,\\dots,Z\\}$) $(|S| \\leq 10^6)$\r\n\r\n#### Output\r\n- In ra kí tự xuất hiện nhiều nhất trong xâu $S$.\r\n\r\n#### Example\r\n!!! question \"Test 1\"\r\n    ???+ \"Input\"\r\n        ```sample\r\n        abcdaadDedgdAAA \r\n        ```\r\n    ???+ success \"Output\"\r\n        ```sample\r\n        d\r\n        ```","points":100.0,"partial":true,"time_limit":1.0,"memory_limit":262144,"short_circuit":false,"allowed_languages":[3,4,34,36,37,5,6,11,12,14,28,2,38,39,9,18,17,29,23,27,35,25,26,10,7,19,32,1,8,15,16,24,20,33,13,41,21,40],"is_public":true,"is_manually_managed":false,"permissions":{"can_edit":false}}