#include<iostream> using namespace std; int main(){ int s; int d; long long h; cin>>s; cin>>d; h=s*10+d; cout<<h*h<<endl; return 0; }