#include<bits/stdc++.h> using namespace std; int main(){ long long a,b,n; cin>>a>>b>>n; for(int i=1;i<=n;i++){ a*=10; } cout<<a/b; return 0; }