Task: Program Execution
Input (English): [39, 96, 1, 98]
Output (English): [39, 1]