#include <iostream>
#include <string>
using namespace std;
int main() {
int x;
double a,b,c,d,y;
cin>>a>>b>>c>>d;
x=(a*b*c*d)/100;
y=(((a*b*c*d)/100)-x)*100;
cout<<y<<endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCmludCBtYWluKCkgewogICAgaW50IHg7CiAgICBkb3VibGUgYSxiLGMsZCx5OwogICAgY2luPj5hPj5iPj5jPj5kOwogICAgeD0oYSpiKmMqZCkvMTAwOwogICAgeT0oKChhKmIqYypkKS8xMDApLXgpKjEwMDsKICAgIGNvdXQ8PHk8PGVuZGw7CiAgICAKIAp9