A man went to market to buy some Diwali sweets. The shop keeper said him that he will give him a discount of as many rupee as many words can be formed by the letters of the word DIWALI. Calculate total amount the man has to pay to purchase 5 kg sweets at a rate of 580 rupee/kg.