#include<bits/stdc++.h>
using namespace std;
string s1,s2;
int a,b,c;
int main()
{
cin >> a >>b >>c;
cout << a/b<<'.';
int t = a % b;
for(int i = 0;i<c;i++)
{
t *= 10;
cout << t / b;
t = t % b;
}
return 0;
}
/**************************************************************
Problem: 1271
User: mariooo
Language: C++
Result: Accepted
Time:6 ms
Memory:2072 kb
****************************************************************/