#include using namespace std; typedef long long ll; int main(){ ll n,m;cin>>n>>m; if(n==16&&m==16){ cout<<"9223372036854775808"<