using System;
public class Program
{
public static void Main()
int N = int.Parse(Console.ReadLine());
for (int i = 1; i <= N; i++)
Console.Write("\n" + i + " ");
for (int j = i+1; j <= N+i; j++)
Console.Write(j + " ");
}
Console.WriteLine();
//Write a program that reads from the console a positive integer number
//N (N < 20) and prints a matrix of numbers as on the figures below: