/*
Veidotajs; Andrejs Šorecs
Grupa: 110
Praktiskais darbs: 6.1
Izmantotais compiler: Visual Studio
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _6_prk_db
{
    internal class Program
    {
        static void Main()
        {
            Tabl();
        Console.ReadKey();
        }
        public static void Tabl()
        {
            Console.WriteLine("Ievadi x vertibu:");
            int x = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("Ievadi y vertibu:");
            int y = Convert.ToInt32(Console.ReadLine());

            for (int i = 1; i <= x; i++)
            {

                for (int j = 1; j <= y; j++)
                {
                    Console.Write("\t"+ j*i);
                }
                Console.WriteLine("");
            }
        }
    }
}
