Task: Program Execution
Input (English): 6, 6, ['3221', '2451', 'W', '7023', 'H', 'G', 'w', 'b', '787', 'W', 'O']
Output (English): G