A group of ten UIC professors each contributed an equal amount to the purchase of a State of Illinois Lottery ticket. Two of them had to withdraw because of lack of funds, causing the share of the remaining professors to increase by $2.40. How much is the cost of the ticket (in dollars)