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