Task: Program Execution
Input (English): [751, 478, 886, 311, 334, 29, 740]
Output (English): [751, 311, 29]