What is the perimeter of the smallest rectangle with integer side lengths that fits three non-overlapping squares with areas $4$, $9$, and $16$?

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