union{float w,p;}u;int main(){scanf("%f%f",&u.w,&u.p);if(u.w<0||u.p<0||u.w>1000||u.p>1000)puts("Invalid Input");else printf("%.2f",u.w*u.p);}