A rich man had five bite of gold chains each with three links. He went to a goldsmith to have them made into one long chain. The goldsmith said that the
cost of breaking open one link is one rupee an closing it by soldering two rupees. What is the least amount that man had to spend to make one long chain out of the bits?