Alex went to the store and purchased red and blue Jelly Beans. The ratio of red to blue Jelly beans is 3 to 7. If 140 Jelly Beans were in the bag, how many red Jelly Beans were in the bag? plssss