#include #define _GLIBCXX_DEBUG #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; using ll = long long; using pii = pair; int main() { cin.tie(0); ios::sync_with_stdio(false); float a, b, c; cin >> a >> b >> c; cout << int(c * ((b-c) / (a-b)) + ((a*c - b*b) / (a-b))) << endl; }