Task: Program Execution
Input (English): 6413, Q, 1117, 1907, 689, t, w, G
Output (English): 6413, 1117, 1907, 689