Task: Program Execution
Input (English): 8, 8, ['O', '4707', '3939', '2071', 'h', '845', 'G', 'Z', '7205', 'G']
Output (English): Z