Task: Program Execution
Input (English): 9947, 31, 5759, R, F, O, X, L, 2135, 37, 1755, A, 2777, 1571, E, a, 1561, e, n, 2185, 9677
Output (English): 9947, 31, 5759, 18, 6, 15, 24, 12, 2135, 37, 1755, 1, 2777, 1571, 5, 1, 1561, 5, 14, 2185, 9677