
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
To enrich students' extracurricular activities, the school has offered a variety of elective courses. There are 169 students participating in the "Mathematical Modeling Elective Course," 158 students participating in the "Chinese Literacy Elective Course," and 145 students participating in the "International Perspective Elective Course." There are 30 students participating in all three elective courses and 20 students not participating in any of the three courses. If the total number of students in the school is 400, then the number of students participating in only two activities is ______.

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