/*
Veidoja: Edgars Katajevs
Grupa: 110
Praktiskais darbs: stundas darbs
Izmantotais compiler: www.onlinegdb.com
*/

using System;
class HelloWorld {
	static void Main() {
		string[,] sigma =
		{
			{ "Andrejs", "Rolands" },
			{ "Eriks", "Kirills" }
		};
		Klasessarakts(sigma);
	}
	public static void Klasessarakts(string[,] sigma)
	{
		for (int i = 0; i < sigma.GetLength(0); i++)
		{
			Console.WriteLine($"Grupa {i+1}:");
			for (int l = 0; l < sigma.GetLength(1); l++)
			{
				Console.WriteLine(sigma[i, l]);
			}
			Console.WriteLine();
		}
		Console.ReadKey();
	}
}