import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int b1 = sc.nextInt(); int b2 = sc.nextInt(); int b3 = sc.nextInt(); int ans = (int)((b2 * b3 - b3 * b3 - b2 * b2 + b1 * b3) / (b1 - b2)); System.out.println(ans); } }