Task: Program Execution
Input (English): Z, M, g, a, 6861, l, g, 1925, 5043, 9873, r, 7959, 2901, 9251, A, J, X, I
Output (English): Z, M, g, a, l, g, r, A, J, X, I