#include<bits/stdc++.h> using namespace std; int main(){ double x,y,t; cin>>x>>y>>t; cout<<(int)((x*t/(y-x)+t)*x); return 0; }