The gardening store sells clay flower pots, which hold 8 litres of dirt, and ceramic flower pots, which hold 9 litres. Billy bought 8 flower pots, which will hold a total of 67 litres of dirt. How many of each type of flower pot did he buy?