at least one of the nitrogen atoms being part of any of the groups , X being a hetero atom, Y being any atom