Improve the grammaticallity of the given text.
The purpose of the survey was to discover popular leisure time activities of male and female students.
The purpose of the survey was to discover the popular leisure time activities of male and female students.