Six friends split the cost of a party. Each person also spends $65 for a hotel room. Each person spends $160 on the party and the room. What is the cost of the party?