#include #include #include #include #include using namespace std; using ull = unsigned long long; #define Mod %1000000007 int main() { ull A, B; cin >> A >> B; if (A >= B) { cout << (A - A % B) / B; A = (A % B) * 10; } else { cout << "0"; A *= 10; } cout << "."; for (int i = 0; i < 50; ++i) { cout << (A - A % B) / B; A = (A % B) * 10; } cout << endl; return 0; }