At a stationery shop, the ratio of the number of blue pens to the number of red pens is 4:5. After 280 blue pens and 280 red pens were sold, the ratio of blue pens to the red pens became 9:20. How many pens were there at the stationery shop at
first?