// editor5
#include<iostream>
#include<string>
using namespace std;
int main(){
    double p,d;
    cin>>p>>d;
    double fp = p-(p*d/100);
    cout<<fixed<<setprecision(2)<<fp;
    return 0;
}