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