Task: Program Execution
Input (English): Z, j, s, g, 7831, u, 2057, i, 2979, C, W, 5483, 657, 4771, 3951, B, g, q, 829, 8609, C
Output (English): Z, j, s, g, u, i, C, W, B, g, q, C