The ratio of the number of Meili's books to Sulin's was 1:2 at first. After Meili bought another 12 books the ratio became 2:1. How many books did sullen have?