Find the answer to this math problem: A band's members each earn $20 per gig. If there are 4 members and they've earned $400, how many gigs have they played?