Task: Program Execution
Input (English): 1851, 2317, 4811, 5695, z, 9951, A, 6005, H, p, 1405, E, N, 5859, I, W, 2869, 9695, 783, r, g
Output (English): 1851, 2317, 4811, 5695, 9951, 6005, 1405, 5859, 2869, 9695, 783