Task: Program Execution
Input (English): 1, 2, ['8271', '2541', 'S']
Output (English): 2541, 8271