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