Task: Program Execution
Input (English): q, g, 8561, 1655, L, 7489, 357, 9043
Output (English): q, g, L