Task: Program Execution
Input (English): 2955, 5327, L, 4687, 9119, 2283, 2293, 7033, A, 5333, 5869, X, q, 7205, q, e, 8307
Output (English): 2955, 5327, 12, 4687, 9119, 2283, 2293, 7033, 1, 5333, 5869, 24, 17, 7205, 17, 5, 8307