Task: Program Execution
Input (English): Q, 2545, g, 4197, 6581, 3139, 3103, 4153, j, n
Output (English): Q, g, j, n