Task: Program Execution
Input (English): Q, c, 9757, c, W, 3131, 7669, 953, 3363, 1171, 7513, 2205, T, 2649, W, 9585, 2865, 8491, 2997, V, Q, 9073
Output (English): Q, c, c, W, T, W, V, Q