Task: Program Execution
Input (English): Z, B, 6715, D, 7801, K, D, r, 5451, B, 3153, 2189, R, I, 9615, q, v, 3357, z, 6475, c
Output (English): Z, B, D, K, D, r, B, R, I, q, v, z, c, 6715, 7801, 5451, 3153, 2189, 9615, 3357, 6475