In a class, 8 students out of 28 have a dog as their pet animal at home ,6 students have a cat as their pet animal .10 students have a dog and cat both, then how many students do not have a dog or cat as their pet animal at home?