{"problem":{"name":"059. Multiply Characters","description":{"content":"Take a single String as input, and output the same string after repeating certain characters by a certain number. The character 'h' should be repeated 5 times, the character 'c' should be repeated 2 t","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF10269059"},"statements":[{"statement_type":"Markdown","content":"Take a single String as input, and output the same string after repeating certain characters by a certain number. The character 'h' should be repeated 5 times, the character 'c' should be repeated 2 times, and the character 'z' should be repeated 12 times.\n\nA single string S containing the string to be modified.\n\nA single string S after being modified.\n\nAll test cases will be completely lowercase.\n\n## Input\n\nA single string S containing the string to be modified.\n\n## Output\n\nA single string S after being modified.\n\n[samples]\n\n## Note\n\nAll test cases will be completely lowercase.","is_translate":false,"language":"English"},{"statement_type":"Markdown","content":"**Definitions**  \nLet $ S \\in \\{a, b, \\dots, z\\}^* $ be the input string.  \n\n**Transformation Rules**  \nFor each character $ c \\in S $:  \n- If $ c = \\text{'h'} $, replace it with $ \\text{'h'}^5 $  \n- If $ c = \\text{'c'} $, replace it with $ \\text{'c'}^2 $  \n- If $ c = \\text{'z'} $, replace it with $ \\text{'z'}^{12} $  \n- Otherwise, leave $ c $ unchanged  \n\n**Objective**  \nOutput the string $ S' $, where each character in $ S $ is replaced according to the above rules.","is_translate":false,"language":"Formal"}],"meta":{"iden":"CF10269059","tags":[],"sample_group":[],"created_at":"2026-03-03 11:00:39"}}