Task: Program Execution
Input (English): 4, 4, ['z', 't', '3477', 'W', 'm', '8235']
Output (English): W