#include <iostream>
using namespace std;
int main(){
    int numberofGuests;
    int costperGuest;
    if(!(cin>>numberofGuests>>costperGuests))return 0;
    if(numberofGuests > 0){
        cout<<numberofGuests * costperGuest<<endl;
    }
    else{
        cout<<"Inval"
    }
}