A cross-country team had a total of 10 practices last week, with each practice being in the morning or the afternoon. During each morning practice, they ran 5 miles, and during each afternoon practice, they ran 6 miles. If they ran a total of 57 miles last week, how many morning practices did they have?