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