If you put something like  N H  and then O H four  well the convention is that when it's a suffix stuff a subscript  and a suffix below the line there and just after it,it only applies to the last element.