A,B,S=map(int,input().split()) c=0 for a in range(1,A+1): for b in range(1,B+1): if a*b<=S: c+=(A-a+1)*(B-b+1) else: break print(c)