Task: Program Execution
Input (English): 2, 2, ['H', 'R', '2761', '3529', '6795', 'R', '1989', 'i', 'D', '1789']
Output (English): R