A cricket team won 60% of the total matches it played during the year. If it lost 24 matches in all and no matches were drawn, find the number of matches played during the year.