Tan's electricity bill for the month of August was $267.00. His September bill showed a 2% increase from his August bill. In October, his bill decreased 8% from the amount he was billed in August. How much did Tan spend on electricity over the tree-month period?