 Uesr cannot input names containing spaces, which is inconvenient since many people of chinese origin will have spaces in name. If user inputs name with spaces, it will return invalid gender.