What is the wajib age when a female and male has to start praying and fasting?

When they become baligh but as for respected marjay e taqleed, he has fixed 9 years for females and signs of puberty in males.