Task: Program Execution
Input (English): 5, 5, ['5131', 'J', '9761', '7895', 'G']
Output (English): G