Task: Program Execution
Input (English): q, 111, l, v, 341, 171, k, 353, z
Output (English): 1, 3, 4, 5, 7