In a box of candies the ratio of the number of red to green is 5 : 7 and the ratio of the number of green to blue is 3 : 8. What is the ratio of red to blue?