A bean bag is filled with red and green beans. of the total number of beans, 30% are red. There are 720 red beans. How many beans are there in the bag?