A cookie shop is going out of business. Prices for all items in the store were assigned in July. Each month after that, the price was \(40%\) less than the price the previous month. If the price of an item was \(d\) dollars for July, what was the price for October (of the same year)?