Task: Program Execution
Input (English): 513, 6493, T, 7877, 6823, a, 9941, q, a, 7355, 4915, 6429, O, b
Output (English): 3, 6, 8, 9, 13, 14