Devah draws a row of 1000 equally spaced dots on a sheet of paper. She goes through the dots from left to right, one by one, checking if the midpoint between the current dot and some remaining dot to its left is also a remaining dot. If so, she erases the current dot. How many dots does Devah end up erasing?