Kirsten is knitting and hates to donate to a local charity. Each hat takes 3 hours to make. If Kirsten knitted 3 hats and a third of another hat. how many hours did she spend knitting?