###HUMAN: How many people are under 40 for each gender Plot them as bar chart, list x axis in asc order., ###ASSISTANT: SELECT gender, COUNT(*) FROM Person WHERE age < 40 GROUP BY gender ORDER BY gender