Task: Program Execution
Input (English): 2, 3, ['4199', 'F', 'D', '7311', 'N', 'x', '739', 'h', '6877', 'W']
Output (English): F, N, h