Task: Program Execution
Input (English): 2, 6, ['u', 'Z', '7841', 'c', 'p', '5913', '293', '2891', 'M', 'U', '1205', 'w', 'x']
Output (English): Z, 2891