/*
Veidoja:Tomass Dučkens
Grupa:110
Praktiskais Darbs 6.2
izmantotais https://www.onlinegdb.com/online_csharp_compiler
*/
using System;

class HelloWorld {
	static void Main(string[] args)
	{
		string[,] sigma = {
			{"Andrejs", "Rolands", "Edgars S."},
			{"Eriks", "Kirills", "Tomass"}
		};

klasessaraksts(sigma);
}
    public static void klasessaraksts(string[,] sigma){
		for (int i = 0; i < sigma.GetLength(0); i++)
		{
		    Console.WriteLine($"Grupa {i+1}:");
			for (int j = 0; j < sigma.GetLength(1); j++)
			{
				Console.Write(sigma[i, j] + " ");
			}
			Console.WriteLine();
		}
	}
}