Task: Program Execution
Input (English): [[15, -38, -22], [49, 41], [21, 23], [29, -6, 11, -20, -3]]
Output (English): [12540, 2009, 483, -114840]