| 2018 IME Tryouts |
|---|
| Finished |
You are one of the $$$1000$$$ lucky people invited to test Sword Art Online closed beta.
The game is very unique and extremely beautiful. But it's still a game.
While battling Illfang, the Kobold Lord, you recognize some attack patterns:
Knowing these patterns you came up with an strategy to defeat it:
Your guild gathered information about the attack sequence of Illfang and your job is to determine your attack sequence to defeat it.
The only line of input contains one string $$$s$$$ ($$$|s| \le 100$$$) — Illfang's attack sequence. 'C' means Illfang will use a Chop attack. 'S' means Illfang will use a Slice attack.
Print one string — your attack sequence to defeat Illfang. 'B' means you will use a Block. 'D' means you will use a Dash. 'P' means you will use a Plunge. 'T' means you will use a Tackle.
CSCCCS
BDBBPD
CCSSSSSSC
BBDDTDDTB
| Name |
|---|


