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();
}
}
}
graphics.drawPolygon(new int[] {10, 20, 30}, new int[] {100, 20, 100}, 3);
// Graphics.drawPolygon(x-coordinates, y-coordinates, # of points);