Task: Program Execution
Input (English): 1407, 7495, 5189, 3705, U, 3607, 8897, V, d, g, j, 8121, X, Z, 3643, X, M, 1923, 6527, b
Output (English): U, V, d, g, j, X, Z, X, M, b