Task: Program Execution
Input (English): 9817, 6547, 7395, 8345, 9333, B, 3591, a, 3161, 3457, d, 1519
Output (English): B, a, d, 9817, 6547, 7395, 8345, 9333, 3591, 3161, 3457, 1519