9. What is the greatest possible perimeter of a right-angled triangle with integer side lengths if one of the sides has length $12$?

Let's think step by step and output the final answer within \boxed{}.
user