P sells a product to Q and makes a profit of 25%. Q sells it to R at a loss of 20%. If R buys it for Tk. 140, what price did p pay for it?