Task: Program Execution
Input (English): [2, 80, 145, 58, 169, 97, 30]
Output (English): [1, 40, 436, 29, 508, 292, 15]