Task: Program Execution
Input (English): 8735, 5473, q, 8621, 3447, 6673, 1847
Output (English): 8735, 5473, 8621, 3447, 6673, 1847