a, b, x = map(int, input().split()) if a >= x: print(b) else: num = x // a + 1 print(b * num)