public static void Main()
string firstInput = Console.ReadLine();
string[] firstInput_split = firstInput.Split(' ');
int cars = int.Parse(firstInput_split[0]);
int road = int.Parse(firstInput_split[1]);
int leftroad = int.Parse(firstInput_split[2]);
for(int j = 1;j < cars; j++)