#include <cstdio>

template <class T>
class Array
{
  public:
    static int size;
    static T create( int _size, int base )
    {
      size = _size;
      return (T)base;
    }
};

template <class T>
int Array<T>::size;

template <class T>
class Array<T *>
{
  public:
    static T *create( int size, int base )
    {
      T *res = new T[size];
      for (int i = 0; i < size; i++)
        res[i] = Array<T>::create(size, base); 
      return res;
    }
};

int main()
{
  char s[99];

  gets(s);
  int ***m = Array<int ***>::create(100, -1);
  printf("%d\n", m[0][0][0]);
  gets(s);
  return 0;
}