There are 16 teachers who can teach Thermodynamics (TD), 11 who can teach Electrical Science (ES), and 5 who can teach both TD and Engineering Mechanics (EM). There are a total of 40 teachers. 6 cannot teach any of the three subjects, i.e, EM, ES or TD. 6 can teach only ES. 4 can teach all three subjects i.e. ES, EM & TD. 4 can teach ES and TD. How many can teach both ES and EM but not TD?