The right triangle with the smallest possible sum of its area and its perimeter, where both area and perimeter are integers, has a hypotenuse of $\frac{p}{q}$, where $p$ and $q$ are relatively prime positive integers. Find $p + q$.

Your answer seems reasonable.
Find out if you're right!