Task: Text to Code
Input (English): for the first elected records of all rows , most of them are equal to 1982 .
Output (English): most_eq { all_rows ; first elected ; 1982 }