A group of friends were working on a student film that had a budget of $1000. They used $370 of their budget on costumes. What percentage of their total budget did they spend on costumes?