Task: Program Execution
Input (English): b, m, t, m, 477, e, 235, i, 459, g, e, k, 423
Output (English): 2, 3, 4, 5, 7, 9