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