Task: Program Execution
Input (English): [380, 121, 698, 389, 502, 791, 37, 58]
Output (English): [389, 37]