Task: Program Execution
Input (English): 5265, 6331, 783, 5415, X, W, N, 6587, 477, J, 8943, a, b, 4477, 6685, 4797
Output (English): 5265, 6331, 783, 5415, 6587, 477, 8943, 4477, 6685, 4797