Task: Program Execution
Input (English): 5, 7, ['1487', 'h', 'X', '4171', 'g', 'e', 'F', 'N', '5387', 'm', 'o', '6687', 'f']
Output (English): F, e, g