Give examples of two functions f : N → N and g : N → N such that gof is onto but f is not onto

Give examples of two functions f : N → N and g : N → N such that gof is onto but f is not onto.
(Hint: Consider and