Add brute force solution in Python for small inputs of '2013/Round 1C/A. Consonants'.