Task: Program Execution
Input (English): Q, 6489, 3243, 3639, M, 7415, I, 467, l, 8077, O, J, m, v, q, 2883, T, F, 5291, 7531, T, O
Output (English): Q, M, I, l, O, J, m, v, q, T, F, T, O