import java.util.Scanner; import java.util.StringJoiner; public class No646_ReversePiramid { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int value1 = scan.nextInt(); scan.close(); for (int i = value1; i > 0; i--) { StringJoiner text = new StringJoiner(""); for (int j = i; j > 0; j--) { text.add(String.valueOf(value1)); } System.out.println(text); } } }