A three-dimensional rectangular box with dimensions $X$, $Y$, and $Z$ has faces whose surface areas are $24$, $24$, $48$, $48$, $72$, and $72$ square units. What is $X + Y + Z$?

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