#define _USE_MATH_DEFINES #include using namespace std; signed main() { ios::sync_with_stdio(false); cin.tie(0); int64_t a, b; cin >> a >> b; vector ans; int64_t x = a, y = b; for (int i = 0; i < 100; i++) { int64_t z = x / y; ans.push_back(z); x -= z * y; x *= 10; } int d = 0; while (a) { a /= 10; d++; } for (int i = 0; i < d + 50; i++) { if (i == d) cout << '.'; cout << ans[i]; } cout << endl; return 0; }