Consider the exponential function given by the equation
$$f(x) = 2^x$$
For what value of $x$ does the function equal 32? To find this value, solve the equation:
$$2^x = 32$$
Express your answer as a whole number in the grid-in section.