Task: Program Execution
Input (English): 8291, 3213, P, K, w, 5395, S, c, 5333, c, g, p, 3791, 7095, 7, 7387, N, E, 6873
Output (English): P, K, w, S, c, c, g, p, N, E, 8291, 3213, 5395, 5333, 3791, 7095, 7, 7387, 6873