Avril's father bought 18 books. Avril takes away 4 books and then decides to give back half of what she took. How many books does Avril's father have left? Let's think step by step and output the final answer within \boxed{}.
user