212B - Polycarpus is Looking for Good Substrings