import java.util.Scanner

object Main {
  def main(args: Array[String]) = {
    val sc = new Scanner(System.in)
    val A, B, T = sc.nextInt()

    val num = 1.until(T+1).flatMap { i =>
      if (i % A == 0) {
        Some(B)
      } else None
    }.sum

    println(s"$num")
  }
}