there are 32 students who studied maths and 28 geography and 26 social science if there are total 40 students in school if they all studies one subject atleast then find maximum number of students who studied all subjects