a, b, x = map(int, input().split()) ans = x // a * b if x % a != 0: ans += b print(ans)