#include <bits/stdc++.h>

using namespace std;

int main()
{
    srand(time(NULL));
    freopen(".1.in","w",stdout);
    cout<<100<<endl;
    for(int c = 0 ; c < 100 ; c++ )
    {
        cout<<100<<endl;
        int x = rand()%100, y = rand()%100;
        for(int i = 0 ; i < 100 ; i++ )
        {
            for(int j = 0 ; j < 100 ; j++ )
                if( i == x and y == j ) cout<<"i";
                else if( rand()%100 > 90 ) cout<<"t";
                else cout<<".";
             cout<<endl;
        }
    }
}
