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