Task: Program Execution
Input (English): 2, ['X', '7939', '373', 'K']
Output (English): 373, K