Task: Program Execution
Input (English): 4, 5, ['h', '1541', 'j', '5577', 'F']
Output (English): F, 5577