
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
Tetrahedron $ABCD$ has $AD=BC=24$, $AC=BD=40$, and $AB=CD=48$. For any point $X$ in space, define $g(X) = AX + BX + CX + DX$. Determine the least possible value of $g(X)$, which can be expressed as $p\sqrt{q}$, where $p$ and $q$ are positive integers, and $q$ is not divisible by the square of any prime. Find $p+q$.

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