Task: Question Answering
Input (English): Problem: in a group of houses , 40 had dogs , 30 had cats and 10 houses having both dogs and cats . what is the number of houses ? 
Options: a ) 30 , b ) 60 , c ) 40 , d ) 45 , e ) 50
Output (English): b