Considering H and N together we have 7−2+1=6 letters out of which three are alike i.e, A's and others are each of its own kind. These six letters can be arranged in 6!3! ways. But Hand' N can be arranged amongst themselves in 2! ways.
Hence, the required number of words =6!3!×2!
=120×2=240.