Task: Program Execution
Input (English): X, d, 361, 7467, 6409, 2151, w, x, 9469, D, d, V, 7865, 8945, v, 6509, x, 9813, 8151, v, 6045
Output (English): X, d, w, x, D, d, V, v, x, v, 361, 7467, 6409, 2151, 9469, 7865, 8945, 6509, 9813, 8151, 6045