Task: Program Execution
Input (English): L, p, 8799, 4107, z, z, R, L, F, X, 5249, 1857, 7655, D, E, S, 263, a, U, T
Output (English): 3, 4, 11, 12, 13, 17