The owner of a second-hand shop bought a stove for R2 999. He paid R580 for replacing some of the parts and then sold the stove for R4 495. Calculate the profit he made on the deal. ​