…手贱好吧…气死了!!!
D.星际穿越
//精度问题;
/*@author:ntttttt
to->myself->add oil!*/
#include<bits/stdc++.h>
using namespace std;
#define gcd __gcd
#define _orz ios::sync_with_stdio(false)
#define fi first
#define se second
#define lc i<<1
#define rc i<<1|1
#define sf scanf
#define pf printf
#define mem(str,num) memset(str,num,sizeof(str))
#define lowbit(a) ((a)&(-a))
typedef long long ll;
typedef pair<int,int> pll;
typedef pair<ll,ll> pLL;
const int inf = 0x3f3f3f3f;
const long long mod = 1e9+7;
const int N = 1e6+10;
ll qpow(ll a, ll b){
ll res = 1; while(b){
if(b&1)res = a*res%mod;b >>= 1;a=a*a%mod;}return res;}
int main()
{
double n,m;
cin >> n >> m;
double x ;
double b = sqrt(n)+sqrt(m);
x = pow(b,6);
ll xx = x;
if(fabs(x -xx) > 1e-2)
xx++;
cout << xx << endl;
return 0;
}
--------------------------------------------------------------------------------------
/*@author:ntttttt
to->myself->add oil!*/
#include<bits/stdc++.h>
using namespace std;
#define gcd __gcd
#define _orz ios::sync_with_stdio(false)
#define fi first
#define se second
#define lc i<<1
#define rc i<<1|1
#define sf scanf
#define pf printf
#define mem(str,num) memset(str,num,sizeof(str))
#define lowbit(a) ((a)&(-a))
typedef long long ll;
typedef pair<int,int> pll;
typedef pair<ll,ll> pLL;
const int inf = 0x3f3f3f3f;
const long long mod = 1e9+7;
const int N = 1e6+10;
ll qpow(ll a, ll b){
ll res = 1; while(b){
if(b&1)res = a*res%mod;b >>= 1;a=a*a%mod;}return res;}
int main()
{
double n,m;
cin >> n >> m;
double x = 1;
double b = sqrt(n)+sqrt(m);
double res = 1;
for(int i = 1;i<=6;i++)
res *= b;
printf("%lld\n",(ll)(res+0.2));
return 0;
}
}