Task: Program Execution
Input (English): 2, 5, ['f', '8531', 'R', '1653', 'y', 'x', 'W', 'U', '5389', '8981', 'g', '3131', 'T', '6813', '9345']
Output (English): 8531, W, 3131