A land dealer bought a piece of land and sold it for sh 540 000 and made a profit of sh 95 800. How much had she paid for the land initially?