#include<bits/stdc++.h>
using namespace std;

int main(){
    int t=10000;
    cout<<t<<"\n";
    while(t--){
        cout<<1<<" "<<25<<"\n";
        cout<<"a\n";
        cout<<"bcdefghijklmnopqrstuvwxyz\n";
    }
    return 0;
}