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