You are given S contains only 'b', 'o'. Let n be the number of occurrences of "bob" in S as a substring. Replace S with n 'o's. Constraint * 1 ≤ |S| ≤ 15