
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
A straight line passing through the fixed point $A$ is given by the equation $x+ky=0$, and another straight line passing through the fixed point $B$ is given by the equation $kx-y-2k+1=0$. If they intersect at point $M$, calculate the maximum value of $|MA|+|MB|$.

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