The store is having a promotion. For every 8 glasses you buy , you get 3 free plates . Malcom got 9 free plates .how many glasses did he buy ?