It is awkward to mention someone as a man/woman when you are saying hello or greeting. It sounds like Hello Man/Woman in English.
You can say, Merhaba John/Kate or John Bey/Kate Hanım or Merhaba çocuklar/arkadaşlar. But most of the time just Merhaba is fine.