matt gives half of his books to the local library and kept the other half.his best friend gives him 3 more books.he now has 57 books.how many did he have to start