Task: Program Execution
Input (English): 5, ['W', '3805', 'm', 'g', '1547', '4255', '8993', 'n', '9453', 'P', '7727', 'V', 'q', '431', '3091', '6677', '5421', 'A']
Output (English): W, 4255, 7727, 6677