For $360, a rock-climbing gym offers a yearly membership where members can climb as many days as they want and pay $4 per day for equipment rental. Nonmembers pay $10 per day to use the gym and $6 per day for equipment rental. Find the total number of visits when the cost for a member and nonmember will be the same.