// Online C# Editor for free
// Write, Edit and Run your C# code using C# Online Compiler

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class HelloWorld
{
    public static void Main(string[] args)
    {
        string[,] sigma = {
            {"Rolands","Kirils","Edgars"},
            {"Eriks","Tomas","Miks"},
        };
        KlasesSaraksts(sigma);
    }
    static void KlasesSaraksts(string[,] sigma){
        for(int i=0; i< sigma.GetLength(0);i++){
            Console.Write(i+1 + " grupa: ");
            for(int j =0; j< sigma.GetLength(1);j++){
                Console.Write(sigma[i,j]+"\t");
            }
            Console.WriteLine();
        }
    }
}