Task: Program Execution
Input (English): T, 5771, k, X, 3935, L, p, I, 419, 9165, 1747, J, 6273, 2113, m, T, 7809, 8939, E, A, 9667, i
Output (English): T, k, X, L, p, I, J, m, T, E, A, i