import java.util.Scanner;
public class triangle {
public static void main(String[] args) {
Scanner userInput = new Scanner(System.in);
int n = userInput.nextInt();
for (int row = 0; row < n ; row++) {
for (int i = 0; i < row ; i++) {
System.out.print(".");
}
for (int i = 0; i < n-row ; i++) {
System.out.print("*");
}
System.out.println();
}
}
}