using System;
using System.IO;
using System.Text;

using var outfile = new FileStream("list.txt", FileMode.Create, FileAccess.Write);
using var writer = new StreamWriter(outfile, Encoding.ASCII);

writer.NewLine = "\n";

int lines = args.Length > 0 ? int.Parse(args[0]) : 1000 * 1000;
const int cols = 45;

var rnd = new Random(42);

for (int line = 0; line < lines; line++)
{
    for (int col = 0; col < cols; col++)
    {
        if (col == 0)
        {
            writer.Write((col + 1) * line);
        }
        else
        {
            writer.Write(' ');
            writer.Write(rnd.Next(1, 100) * 999999 );
        }
        writer.Write(';');
    }
    writer.WriteLine();
}