#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; int main(){ int N; cin >> N; cout << 2*N-1 << endl; vector> ans(2*N-1, vector(N)); for (int i=1; i<=N*2-1; i+=2){ for (int j=0; j