using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2._8_Triangle_of_Numbers { class Program { static void Main(string[] args) { int number = int.Parse(Console.ReadLine()); for (int row = 1; row <= number; row++) { for (int column = 1; column <= row; column++) { Console.Write($"{row} "); } Console.WriteLine(); } } } }