Task: Program Execution
Input (English): [[10, -16, 31], [-21, 1, 47, -11], [21, 29]]
Output (English): [31, 10857, 609]