import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)
  val (a, b, n) = (sc.nextInt(), sc.nextInt(), sc.nextInt())

  val bDouble = b.toDouble
  println((Math.floor(a * n / bDouble) - a * Math.floor(n / bDouble)).toInt)
}
