#include #include #include #include #include #include #define Max(a, b) ((a) > (b) ? (a) : (b)) #define Min(a, b) ((a) > (b) ? (b) : (a)) #define abs(x) ((x) > 0 ? (x) : -(x)) #define rep(i, n) for(int i = 0; i < (n); i++) #define MOD 1000000007 //10^9 + 7 #define endl printf("\n") typedef long long ll; #define MAX_N (1 << 17) int main(int argc, char *argv[]) { ll a, b, d; scanf("%lld %lld", &a, &b); printf("%lld.", a / b); ll x = (a % b) * 10; for (int i = 0; i < 50; i++) { d = x / b; printf("%lld", d); x = (x - d * b) * 10; } endl; return 0; }