Task: Program Execution
Input (English): A, w, 5467, 3985, 2953, n, 1091, 4441, T
Output (English): A, w, n, T, 5467, 3985, 2953, 1091, 4441