using System.Collections.Generic;
public static void Main()
Queue<string> customers = new Queue<string>();
Console.WriteLine("Въведете клиентите:");
string[] input = Console.ReadLine().Split();
foreach(string name in input)
while(customers.Count > 0)
Console.WriteLine($"Обслужен клиент: {customers.Dequeue()} (оставащи: {customers.Count})");
Console.WriteLine("Всички клиенти са обслужени");