Mediocre String Problem

Gym - 101981M