Task: Program Execution
Input (English): c, P, Q, E, 7811, 1801, T, F, m, 2987, 8491, v, 5383, o, U, I, 3255, 7167, 2999, V, 4519, Q, 1979
Output (English): c, P, Q, E, T, F, m, v, o, U, I, V, Q