#include<iostream>
#include<cmath>
using namespace std;
int main(){
	freopen("meow.in","r",stdin);
	freopen("meow.out","w",stdout);
	cout<<5<<endl<<1<<" "<<1<<endl<<1<<" "<<1<<endl<<1<<" "<<2<<endl<<2<<" "<<1<<" "<<2<<endl<<1<<" "<<1;
	fclose(stdin);fclose(stdout);
	return 0;
}
