Matt gave half of his books to the local library and kept the other half. His best friend gave him 3 more books. He now has 57 books. How many did he have to start?