Task: Program Execution
Input (English): 4, 5, ['H', '3659', '1977', '4935', 'K', 'z']
Output (English): 4935