#include using namespace std; using ll=long long; #define rep2(i, a, n) for(int i = (a); i < (n); i++) #define rep(i, n) rep2(i,0,n) int main() { ll A, B; cin >> A >> B; cout << A / B << "."; A %= B; for (int i = 0; i < 50; i++) { A *= 10LL; cout << A / B; A %= B; } }