#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int arr[n*2];
for ( int i = 0 ; i < n*2 ; i ++ )
{
cin >> arr[i];
}
int houses;
cin >> houses;
int meter = houses*houses;
cout << meter;
return 0;
}