
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
In a certain region are five towns: Freiburg, Göttingen, Hamburg, Ingolstadt, and Jena. 

On a certain day, 40 trains each made a journey, leaving one of these towns and arriving at one of the other towns. Ten trains traveled either from or to Freiburg. Ten trains traveled either from or to Göttingen. Ten trains traveled either from or to Hamburg. Ten trains traveled either from or to Ingolstadt. 

How many trains traveled from or to Jena?

A) 0
B) 10
C) 20
D) 30
E) 40

Present the answer in LaTex format: \boxed{Your answer}
user