a, b, t = list(map(int, input().split()))

ret = 0

for i in range(a, t + 1, a):

    ret += b

print(ret)

a, b, t = list(map(int, input().split()))

print((b * (t // a)))
a, b, t = list(map(int, input().split()))
ret = 0
for i in range(a, t + 1, a):
    ret += b
print(ret)

a, b, t = list(map(int, input().split()))
print((b * (t // a)))

-ret = 0 -for i in range(a, t + 1, a): -    ret += b -print(ret) +print((b * (t // a)))