#include <cstdio>
template <class T, class K>
class Array
{
public:
static int size;
static T create( int _size, K base )
{
size = _size;
return base;
}
};
template <class T>
int Array<T>::size;
template <class T>
class Array<T *>
{
public:
template <class K>
static T *create( int size, K 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;
}