A station shop orders a batch of pens from a factory. The factory could make the batch of pens in 20 days using 12 machines. Due to fault only 8 machines were used for the first 9 days. All 12 machines were used from day 10 onwards. Work out the total number of days taken to make the batch of pens.