A woman bought a dining table for ​$700 and then sold it for​$900. She bought it back for ​$600 and then sold it again for​$500. How much did she gain or lose on these​ transactions? She (gained or lost) ​$ . ​(Type a whole​ number.)