Sally had some marbles. After buying 12 more marbles, she had 25 marbles. How many marbles did Sally have before she bought more?