You will be given a definition of a task first, then some input of the task.
You are given a math word problem and you are supposed to only use multiplication or division operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Context: Bryan took a look at his books and magazines. If he has 9 books and 46 magazines in each of his 10 bookshelves 

 Question: How many magazines does he have in total?
Output:
460