Task: Program Execution
Input (English): 5227, e, n, 2987, 1487, 8733, j, X
Output (English): e, n, j, X, 5227, 2987, 1487, 8733