#include <bits/stdc++.h>
vector<vector<long long int>> printPascal(int n)
{
// Write your code here.
vector<vector<long long int>> v(n);
for(int i=0; i<n; i++){
v[i].resize(i+1);
for(int j=0; j<i+1; j++){
if(j==0 || j==i) v[i][j]=1;
else v[i][j] = v[i-1][j-1] + v[i-1][j];
}
}
return v;
}