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