Task: Program Execution
Input (English): B, 4077, E, 7655, 581, r, n, Z, d, X, 7519, X
Output (English): B, E, r, n, Z, d, X, X, 4077, 7655, 581, 7519