made by Jaehyeok Choi
dynamic programming (Greedy)
This is greedy algorithm because we only accept continuous pPAp.
Just checking them from the start and if pPAp exist, add 1 to the final answer.
You can contact me through email, which is wogur7496@gmail.com. Thank you for visiting this github!