Task: Program Execution
Input (English): 14, 17, ['6787', '4827', '6711', 'g', '6457', '4787', 'M', '3077', '4325', '7927', 'l', '6031', 'D', 'z', 'Q', 'P', '1029', 'U']
Output (English): 1029, P, Q, z