A long wire is cut into three smaller pieces in the ratio of 7:3:2. If the shortest piece is 16 cm, how long was the entire wire before it was cut?
Please reason step by step, and put your final answer within \boxed{}.
user