By selling a printer at Rs 15000 and Rs 18000, some lass and some profit are happened respectively. If the loss is one forth of profit, find its cost price​