#include<bits/stdc++.h> using namespace std; #define int long long int n; int m; int a[2005]; signed main(){ cin>>n>>m; a[0]=2; a[1]=7; a[2]=2; a[3]=3; a[4]=3; a[5]=4; a[6]=2; a[7]=5; a[8]=1; a[9]=2; cout << a[n]*a[m]; return 0; }
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 追梦算法网 universal account