Task: Program Execution
Input (English): S, v, d, 9541, d, 433, 8045, 8767, z
Output (English): S, v, d, d, z, 9541, 433, 8045, 8767