Task: Program Execution
Input (English): [[77, -17, -47], [46, -24], [-18, 65, -146, -51, 40, -143, 49]]
Output (English): [77, 46, 65]