Task: Program Execution
Input (English): [157, 538, 287, 907, 840]
Output (English): [157, 907]