// Arup Guha
// 6/11/2025
// Solution to Kattis Problem: Divide by 100
// https://open.kattis.com/problems/divideby100

using namespace std;
#include <bits/stdc++.h>

string fix(const string& s);

int main() {

    // Read in both strings.
    string num, den;
    cin >> num >> den;

    // Answer is 1 or greater.
    if (num.size() >= den.size()) {

        // Parse out the portion of the number to the left of the decimal and to the
        // right.
        string left = num.substr(0, num.size()-den.size()+1);
        string right = num.substr(num.size()-den.size()+1, num.size()-left.size());

        // Remove trailing zeros.
        right = fix(right);

        // Special case no decimal point.
        if (right.size() == 0)
            cout << left << endl;

        // Normal case.
        else
            cout << left << "." << right << endl;
    }

    // Less than zero case.
    else {

        // Calculate # of 0s to the right of the decimal point.
        int pad = den.size() - num.size() - 1;

        // Since this will be to the left, fix it.
        num = fix(num);

        // Build zeroes to the left of the decimal.
        string tmp = "";
        for (int i=0; i<pad; i++) tmp += "0";

        // Ta da!
        cout << "0." << tmp << num << endl;
    }

    return 0;
}

string fix(const string& s) {

    // Let index i go to the first non-zero digit from the right.
    int i = s.size()-1;
    while (i>=0 && s[i] == '0') i--;

    // This is the substring we want/
    return s.substr(0, i+1);
}
