Task: Program Execution
Input (English): 4, 5, ['7939', 'I', '7499', '4099', 'L', 'Z', '3189', 'M', '4555', '4959', 'V']
Output (English): 4099