The function f(x) takes an integer input and returns its power of 2.
