Mr two bought his class cookies for his class,he gave out half of them in the morning,At lunch,he gave out 14 more.he then had 8 cookies left.how many cookies did he start with?