You have five pieces of chain, each consisting of three links. You want to make one long chain of these five pieces. Breaking open a link costs 1 Rs, and welding an open link costs 3 Rs.
Is it possible to make one long chain of the five pieces, if you have just 15 Rs?