{"problem":{"name":"134. Alarming String","description":{"content":"You define a string to be an _alarming string_ if it contains exactly three \"a\" characters. Given a string, possibly containing spaces, figure out whether or not it is an alarming string. The only li","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF10269134"},"statements":[{"statement_type":"Markdown","content":"You define a string to be an _alarming string_ if it contains exactly three \"a\" characters. Given a string, possibly containing spaces, figure out whether or not it is an alarming string.\n\nThe only line of input contains a single string $s$, consisting of only lowercase characters.\n\nOutput \"YES\" (no quotes) if the given string is an alarming string, as described above, and \"NO\" (no quotes) otherwise.\n\n## Input\n\nThe only line of input contains a single string $s$, consisting of only lowercase characters.\n\n## Output\n\nOutput \"YES\" (no quotes) if the given string is an alarming string, as described above, and \"NO\" (no quotes) otherwise.\n\n[samples]","is_translate":false,"language":"English"},{"statement_type":"Markdown","content":"**Definitions**  \nLet $ s $ be a string over the alphabet $ \\{a, b, \\dots, z\\} \\cup \\{\\text{space}\\} $.\n\n**Constraints**  \n- $ s $ consists only of lowercase Latin letters and spaces.\n\n**Objective**  \nDetermine whether the number of occurrences of the character 'a' in $ s $ is exactly 3.  \nThat is, output \"YES\" if $ \\#_{a}(s) = 3 $, otherwise output \"NO\".","is_translate":false,"language":"Formal"}],"meta":{"iden":"CF10269134","tags":[],"sample_group":[],"created_at":"2026-03-03 11:00:39"}}