Let \( f \) be a function such that \( f(x) = 2^x \) for all real numbers \( x \). If \( g \) is the inverse function of \( f \), find \( g(16) \). Let's think step by step and output the final answer within \boxed{}.
user