Task: Program Execution
Input (English): 4, ['Q', 'N', 'r', 'F', 'G', '755', '8723', '55', '817', '8773']
Output (English): Q, G, 817