Task: Program Execution
Input (English): [27, 49, 52, -57, -58]
Output (English): [22, 3, 109, 1]