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 apply a single mathematical operator 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.

dan 's high school played 18 baseball games this year and 2 were at night . the team won most of their games . they were defeated during 3 games . how many games did they win ?
Output:
15