Task: Program Execution
Input (English): 8, 12, ['2231', '2923', '927', 'f', '6091', 'N', '1307', '4119', 'Q', '8161', '6179', '8683', 'A']
Output (English): 4119, Q, 8161, 6179, 8683