Task: Program Execution
Input (English): 3, 10, ['W', '9833', '7687', 'c', '9237', 'g', '4971', 'x', '1419', '9145']
Output (English): 9145, 1419, x, 4971, g, 9237, c, 7687