line = eval(input())

A, B, T = [int(n) for n in line.split()]

T+=0.5

i = 0

while A*(i+1) <= T:

    i+=1

print((i*B))
numerosStr = input().split(" ")

numeros=[]

contador=0

i=0

for j in numerosStr:

    numeros.append(int(j))



A = numeros[0]

B = numeros[1]

T = numeros[2]+0.5



print((int(((T)//A)*B)))
line = eval(input())
A, B, T = [int(n) for n in line.split()]
T += 0.5
i = 0
while A * (i + 1) <= T:
    i += 1
print((i * B))

numerosStr = input().split(" ")
numeros = []
contador = 0
i = 0
for j in numerosStr:
    numeros.append(int(j))
A = numeros[0]
B = numeros[1]
T = numeros[2] + 0.5
print((int(((T) // A) * B)))

-line = eval(input()) -A, B, T = [int(n) for n in line.split()] -T += 0.5 +numerosStr = input().split(" ") +numeros = [] +contador = 0 -while A * (i + 1) <= T: -    i += 1 -print((i * B)) +for j in numerosStr: +    numeros.append(int(j)) +A = numeros[0] +B = numeros[1] +T = numeros[2] + 0.5 +print((int(((T) // A) * B)))