#include using namespace std; typedef long long int ll; int main(){ int n;cin>>n; for(int i=n;i>=1;i--){ for(int j=0;j