Task: Program Execution
Input (English): 3, ['Q', '2347', '9247', '8969', '1663', '1527']
Output (English): Q, 2347, 9247