At a bake sale there were 24 raisin cookies sold. If the ratio of raisin cookies sold to oatmeal cookies sold was 6 : 5, what is the combined amount of raisin and oatmeal cookies sold?