#include<iostream> using namespace std; int main() { long long x,y; cin>>x>>y; cout<<(x*10+y)*(x*10+y)<<endl; return 0; }