
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 [right triangle](https://artofproblemsolving.com/wiki/index.php/Right_triangle) $ABC$ with [right angle](https://artofproblemsolving.com/wiki/index.php/Right_angle) $C$, $CA = 30$ and $CB = 16$.  Its legs $CA$ and $CB$ are extended beyond $A$ and $B$.  [Points](https://artofproblemsolving.com/wiki/index.php/Point) $O_1$ and $O_2$ lie in the exterior of the triangle and are the centers of two [circles](https://artofproblemsolving.com/wiki/index.php/Circle) with equal [radii](https://artofproblemsolving.com/wiki/index.php/Radius).  The circle with center $O_1$ is tangent to the [hypotenuse](https://artofproblemsolving.com/wiki/index.php/Hypotenuse) and to the extension of leg $CA$, the circle with center $O_2$ is [tangent](https://artofproblemsolving.com/wiki/index.php/Tangent) to the hypotenuse and to the extension of [leg](https://artofproblemsolving.com/wiki/index.php/Leg) $CB$, and the circles are externally tangent to each other.  The length of the radius either circle can be expressed as $p/q$, where $p$ and $q$ are [relatively prime](https://artofproblemsolving.com/wiki/index.php/Relatively_prime) [positive](https://artofproblemsolving.com/wiki/index.php/Positive) [integers](https://artofproblemsolving.com/wiki/index.php/Integer).  Find $p+q$.

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