/*
Veidoja: Lana Lobza
Grupa: 110
Stundas Darbs 5.12.2025
Izmantotais Compiler: www.onlinegdb.com
*/
using System;
class Program
{
static void Main()
{
string[,] sigma = {
{ "Andrejs Š", "Rolands Z", "Edgars Š" },
{ "Ēriks B", "Kirills T", "Tomass D" } };

Klassessaraksts(sigma);
}

public static void Klassessaraksts(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.WriteLine(sigma[i,j]);
}
}

}

}