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