A shopkeeper sold a laptop for Rs.38000 which he purchased for Rs.40000. Find the cost price and selling price.