{"problem":{"name":"AKIBA","description":{"content":"You are given a string $S$. Takahashi can insert the character `A` at any position in this string any number of times. Can he change $S$ into `AKIHABARA`?","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"cf17_final_a"},"statements":[{"statement_type":"Markdown","content":"You are given a string $S$.\nTakahashi can insert the character `A` at any position in this string any number of times.\nCan he change $S$ into `AKIHABARA`?\n\n## Constraints\n\n*   $1 \\leq |S| \\leq 50$\n*   $S$ consists of uppercase English letters.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"cf17_final_a","tags":[],"sample_group":[["KIHBR","YES\n\nInsert one `A` at each of the four positions: the beginning, immediately after `H`, immediately after `B` and the end."],["AKIBAHARA","NO\n\nThe correct spell is `AKIHABARA`."],["AAKIAHBAARA","NO"]],"created_at":"2026-03-03 11:01:14"}}