Instructions: You are given a math word problem and you are supposed to apply multiple mathematical operators like addition, subtraction, multiplication, or division on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
Input: bianca had 45 coloring books . if she gave away 6 of them but then bought 20 more how many would she have total ?
Output:
59