In older days, when there was no advanced technology of finding out whether a woman was expecting a boy or…