// editor5
#include <iostream>
#include <iomanip>


int main()
{
    double p, d;
    std::cin >> p;
    std::cin >> d;
    
    if(p>=0.0 && p<=10000.0 && d>=0.0 && d<=100.0)
    {
        p-=((d/100)*p);
        std::cout << std::fixed << std::setprecision(2) << p << endl;
    }
    return 0;
}