Jacob had some candy to give to his five children. He first took six pieces for himself and then evenly divided the rest among his children. Each child received three pieces. With how many pieces did he start?