Score : 300 points
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?
Input is given from Standard Input in the following format:
S
If it is possible to change S into AKIHABARA, print YES; otherwise, print NO.
KIHBR
YES
Insert one A at each of the four positions: the beginning, immediately after H, immediately after B and the end.
AKIBAHARA
NO
The correct spell is AKIHABARA.
AAKIAHBAARA
NO