Task: Program Execution
Input (English): 8735, P, 6579, 7869, 9181, 679, t, 8377, l, 1039, 7985
Output (English): 8735, 6579, 7869, 9181, 679, 8377, 1039, 7985