#include int main(){ long d,t; int p; scanf("%ld %d",&d,&p); t=d*p/100; if(d*p%100>=50) t++; printf("%ld\n",d+t); return 0; }