At the grocery store, Mr. and Mrs. Bailey bought 24 apples and 18 pears. Write a ratio in simplest form to compare apples and pears.