A guardian with 6 wards wishes everyone of them to study either Law or Medicine or Engineering. Number of ways in which he can make up his mind with regard to the education of his wards if every one of them be fit for any of the branches to study, and atleast one child is to be sent in each discipline is :