Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE student (city_code VARCHAR, age INTEGER, sex VARCHAR)
### Question:
Find the average age and number of male students (with sex M) from each city.
### Answer:
SELECT COUNT(*), AVG(age), city_code FROM student WHERE sex = 'M' GROUP BY city_code