Task: Program Execution
Input (English): q, 4437, V, 5423, M, f, 909, 839, 9637, 4871, k, L
Output (English): 2, 4, 7, 8, 9, 10