Task: Program Execution
Input (English): [3, 5, 2, 3, 1]
Output (English): [5, 2, 1]