In Mrs Halls class of 30 students, 17 have computers at home and 20 have cassettes. If 4 students in the class have neither a computer or a cassette, how many of the 30 students have both?