Task: Program Execution
Input (English): q, 6033, 4477, 2115, 5427, 727, y
Output (English): 2, 3, 4, 5, 6