Task: Program Execution
Input (English): [501, 647, 46, 43, 143, 487, 253, 5]
Output (English): [647, 43, 487, 5]