Joan’s stamp collection consists of three books. Two tenths of her stamps are on the first book, several sevenths are in the second, and there are 303 stamps in the third book. How many stamps are there in Joan’s collection?