Task: Text to Code
Input (English): select the rows whose candidates record fuzzily matches to jay le fevre ( r ) 69.5 % john f killgrew ( d ) 30.5 % . take the first elected record of this row . select the rows whose candidates record fuzzily matches to hadwen c fuller ( r ) 54.3 % frank a emma ( d ) 45.7 % . take the first elected record of this row . the first record is less than the second record . the first elected record of the first row is 1942 . the first elected record of the second row is 1943 .
Output (English): and { less { hop { filter_eq { all_rows ; candidates ; jay le fevre ( r ) 69.5 % john f killgrew ( d ) 30.5 % } ; first elected } ; hop { filter_eq { all_rows ; candidates ; hadwen c fuller ( r ) 54.3 % frank a emma ( d ) 45.7 % } ; first elected } } ; and { eq { hop { filter_eq { all_rows ; candidates ; jay le fevre ( r ) 69.5 % john f killgrew ( d ) 30.5 % } ; first elected } ; 1942 } ; eq { hop { filter_eq { all_rows ; candidates ; hadwen c fuller ( r ) 54.3 % frank a emma ( d ) 45.7 % } ; first elected } ; 1943 } } }