Task: Text to Code
Input (English): eq { hop { nth_argmin { all_rows ; distance ( ly ) ; 1 } ; constellation } ; ursa major }
Output (English): ordinal