#include<bits/stdc++.h> using namespace std; int main(){ int i,n,b; cin>>n; for(i=n;i>=1;i--){ for(b=1;b<=i;b++){ cout<<'#'; } cout<<endl; } }