#include<bits/stdc++.h> using namespace std; int main() { int q,x; cin>>q>>x; if(q>x) { cout<<q*q; } else { cout<<x*x; } return 0; }