Task: Program Execution
Input (English): z, 9729, 9413, L, n, f, o, g
Output (English): z, L, n, f, o, g