Task: Program Execution
Input (English): T, 479, 8475, w, U, B, 6055, N, 2747, 3503, M
Output (English): T, w, U, B, N, M