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