Student Bekzat has $$$n$$$ balloons. Each balloon is either red (denoted by the symbol R) or blue (symbol B). He arranged them in a single row and wants to know:
Is it possible, by performing at most one swap of neighboring balloons, to achieve a configuration where after every red balloon immediately follows a blue one?
A single string $$$s$$$ $$$(2 \le |s| \le 100)$$$, consisting only of the symbols R and B.
Print YES if it is possible to obtain the correct sequence with one swap of neighboring balloons, otherwise print NO.
BR
YES
| Name |
|---|


