#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; long long c; c=a*10+b; cout<<c*c; return 0; }