A store bought 9 cases of lightbulbs in May and 8 cases in June. There are 58 lightbulbs in each case. How many lightbulbs did the sore buy altogether??