Task: Text to Code
Input (English): for the distance / duration records of all rows , all of them are greater than 40 laps .
Output (English): all_greater { all_rows ; distance / duration ; 40 laps }