Task: Text to Code
Input (English): select the rows whose incumbent record fuzzily matches to ivor d fenton . take the first elected record of this row . select the rows whose incumbent record fuzzily matches to hardie scott . take the first elected record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; incumbent ; ivor d fenton } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; hardie scott } ; first elected } }