#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 < 96 ; c++ )
    {
        cout<<100<<endl;
        int x = rand()%100, y = rand()%100;
        int tx[10], ty[10];
        for(int i = 0 ; i < 9 ; i++ )
        {
            int xx = rand()%100, yy = rand()%100;
            if( x == xx and y == yy )
            {
                i--;
                continue;
            }
            tx[i] = xx, ty[i] = yy;
        }
        for(int i = 0 ; i < 100 ; i++ )
        {
            for(int j = 0 ; j < 100 ; j++ )
            {
                if( i == x and j == y ) cout<<"i";
                else
                {
                    bool ok = false;
                    for(int k = 0 ; !ok and k < 9 ; k++ )
                        if( tx[k] == i and ty[k] == j ) cout<<"t", ok = true;
                    if( !ok ) cout<<".";
                }
            }
            cout<<endl;
        }
    }
}
