Calculate the prime cost from the following particulars for a production units:
Cost of material purchased....20,000
Opening Stock of materials....8,000
Closing stock of materials......5,000
Wages paid........3,000
rent of hire of special machine for production.....6000