Task: Program Execution
Input (English): a, 2667, 9397, 8541, S, 4659, D, L, 3085, 4219, 4765
Output (English): 2, 3, 4, 6, 9, 10, 11