#include using namespace std; int main(){ cin.tie(0); ios_base::sync_with_stdio(0); //start here int N;cin >> N; for(int i = 0;i < N;i++){ for(int j = 0; j < N;j++){ if(i+j == N-1 || i+j == N) cout << '#'; else cout << '.'; } cout << '\n'; } }