Find the smallest by a rule

Your task Write sales(r), which returns the row's sales as a number. Print the name of the person with the lowest sales, using min with key=sales.

Getting the editor ready