A store has 40 bags of marbles. There are 70 marbles in each bag. How many marbles does the store have?​