Mr. Chi has 340 markers that he wants to put into bags. How many bags does he need to if each bag holds 24 markers?