Task: Program Execution
Input (English): 8249, 9743, w, 3803, 2471, A, B, 2919, k, 6849, 6301
Output (English): 8249, 9743, 3803, 2471, 2919, 6849, 6301