
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
Given an odd function $f(x)$ with domain $\mathbb{R}$, when $x \leqslant 0$, $f(x) = \log_{2018}(1-x) + 2\cos \frac{\pi x}{2} + m (m \in \mathbb{R})$. Calculate the value of $f(2017)$.

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