Task: Program Execution
Input (English): A, m, 6721, 4709, 8135, 5667, 2901, T, 1777, 6033, 2999, E, 8385
Output (English): 3, 4, 5, 6, 7, 9, 10, 11, 13