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