﻿namespace LineNumbers
{
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    class LineNumbers
    {
        static void Main()
        {
            string[] allLines = File.ReadAllLines("Input.txt")
                .Select((x, index) => $"{index + 1}. {x}")
                .ToArray();
            
            File.WriteAllLines("Output.txt", allLines);

        }
    }
}
