Task: Program Execution
Input (English): 3, 4, ['r', 'v', 'G', '4595', '6485']
Output (English): G, 4595