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 make use of mathematical concepts like probability, combinatorics, linear equations, sequences/series, or simple operators like addition, subtraction, division, or multiplication to answer the given question. Choose the best option from the 5 given options and report that option.

Question: Seven children A, B, C, D, E, F, and G are going to sit in seven chairs in a row. Child A has to sit next to both B & G, with these two children immediately adjacent to here on either side. The other four children can sit in any order in any of the remaining seats. How many possible configurations are there for the children?

Option A: 240

Option B: 480

Option C: 720

Option D: 1440

Option E: 3600
Output:
Option A