#include using namespace std; #define int long long signed main(){ int A,B; cin>>A>>B; int ans = 1; for(int i=1;i<=(A|B);i++) ans *= i; cout<