Task: Program Execution
Input (English): 8249, k, S, 1947, u, 5327, 7047, 8247, 1691, 7165, o, 7273, Z, U, 5757, P, d, 921, d, 6153, 157, p, 4975, X
Output (English): 8249, 1947, 5327, 7047, 8247, 1691, 7165, 7273, 5757, 921, 6153, 157, 4975