A shop sells three types of boots (football, rugby and hiking). Sales are usually in the ratio 6 : 2 : 3 last month, 24 pairs of football boots were sold. How many boots altogether were sold last month?