#include using namespace std; int a,b,c; int main(){ cin>>a>>b>>c; cout<<(c*(a-c)+b*(c-b))/(a-b)<<"\n"; return 0; }