Task: Program Execution
Input (English): 1587, w, 6707, 783, 9007, d, 5383, A, z, 5847, P, N, 1425, 7699, j, 5923, b, U, 6763, c, C
Output (English): 1587, 6707, 783, 9007, 5383, 5847, 1425, 7699, 5923, 6763