The ratio of the number of red cubes to the total number of small plastic cubes in a classroom is 3:14. How many red cubes are there if there are 560 cubes altogether?