Task: Program Execution
Input (English): 2, ['9389', '7965', 'G', '4875']
Output (English): G, 4875