Rosetta Problems

Multiples in the String

https://atcoder.jp/contests/agc070/tasks/agc070_a