Mr Tan had some bags in his shop. 4/5 of them were Mizuno brand, 3/4 of the remainder were Puma brand and the rest were Reebok brand.

Types of bagsAmount earned per bag

Mizuno $12

Puma $15

Reebok $8

The table above shows the amount he earned per bag. The ratio of the number of Mizuno bags sold to the number of Puma bags sold to the number of Reebok bags sold was 2:3:5.

If he sold 1/3 of the bags altogether and earned $1635, how many Puma bags did he have at first?