A class of 24 students went on a picnic. They had a choice between having a turkey sandwich or a vegetarian sandwich. Eighteen students selected turkey, and the rest selected vegetarian. Write a ratio to compare the number of turkey sandwiches to the number of vegetarian sandwiches.