Task: Program Execution
Input (English): R, 8487, 9243, 361, 3321, h, u, X, 5585, d, B, 259, k, 8159, N, 2763, 7829, 3683, U, 9607, 4543, 5017
Output (English): 8487, 9243, 361, 3321, 5585, 259, 8159, 2763, 7829, 3683, 9607, 4543, 5017