Task: Program Execution
Input (English): q, w, 2697, 581, w, 2849
Output (English): q, w