#include<vector>
#include <iostream>

using namespace std;

int main(){
    int x, y;
    cin >> x >> y;
    //int res = x * y;
    if(x => 10 || y => 10){
        cout << 10 << endl;
    }else{
        cout << x * y << endl;
    }
    return 0;
}