#include<iostream>
using namespace std;
int main(){
    int width,height;
     (!(cin >> width >>height)){
         cout<<"Invalid input";
         return 0;
     }
     if(width <=0 || height <=0){
         cout<<"Invalid input";
     }else {
         cout<<width*height;
     }
     return 0;
}