a, b, s = map(int, input().split()) ans = 0 for i in range(1, a + 1): for j in range(1, b + 1): if i * j > s: break ans += (a - i + 1) * (b - j + 1) print(ans)