A group of friends were working on a student film with a budget of $640, which they spent on costumes and equipment. They spent $288 on equipment. What percent did they spend on costumes?