A confectionary company did a survey among students. It was found that 80 students liked pastries and 30 of those students liked candies also. There were 15 students who did not like pastries but liked candies. There were 5 students who did not like either pastries or candies.