Task: Program Execution
Input (English): 5, 6, ['5689', 'K', '8983', 'R', '2479', 'g', '15', '1031']
Output (English): g, 2479