Task: Program Execution
Input (English): 5, 9, ['S', 'E', '8471', 'V', '2001', '2871', '3579', '505', '6039']
Output (English): 6039, 505, 3579, 2871, 2001