#include <bits/stdc++.h>
using namespace std;
int main(){
    int n=100000;
    double PI=3.14159265358979;
    cout<<n<<endl;
    for(int i=0;i<n;i++){
        double x,y;
        x=1e9*cos(2.0*PI/n*i);
        y=1e9*sin(2.0*PI/n*i);
        int nx,ny;
        nx=(int)x;
        ny=(int)y;
        cout<<nx<<" "<<ny<<endl<<flush;
    }
}