Let SS denote the set of nonnegative integers. Find all functions ff from SS to itself such that

f(m+f(n))=f(f(m))+f(n)m,nS.f(m + f(n)) = f(f(m)) + f(n) \qquad \forall m, n \in S.