The total length of pipes used for rain water harvesting in your house is 2986 in. The cost of 1 inch pipe is $ 2.34. Find the total cost of the pipe.