#include using namespace std; int main() { int64_t A, B; cin >> A >> B; int64_t n; for (int i = 0; i <= 50; i++) { if (!i) { int d = A / B; n = A - d * B; cout << d << '.'; } else { n *= 10; int d = n / B; cout << d; if (i == 50) cout << endl; n -= d * B; } } }