Task: Program Execution
Input (English): 9279, Q, 8587, 4231, c, 9781, B, G, d
Output (English): Q, c, B, G, d