#arc136a. [arc136_a]A ↔ BB

[arc136_a]A ↔ BB

有一个由 ABC 构成的字符串 SS,你每次可以把一个 A 换成 BB,或把一个 BB 换成 A

求你所能得到的字典序最小的字符串。