#include <iostream>
using namespace std;
int main()
{
   
   int n;
   cin >> n;
   int arr[2*n];

   for ( int i = 0 ; i < 2 * n ; i ++ )
   {
      cin >> arr[i];
   }

   int sim = n*n;
   cout << sim;


   return 0;
}