Task: Program Execution
Input (English): a, 381, 4171, p, u, c, q, 3225, L, 5659, 7671, H, 4341, 2255, 7055, 4853, f, J, h, 3501, 7511, f
Output (English): a, p, u, c, q, L, H, f, J, h, f, 381, 4171, 3225, 5659, 7671, 4341, 2255, 7055, 4853, 3501, 7511