static void Main(string[] args)
        {
            var shoppingCenter    = new ShoppingCenter();
            var commandsProcessor = new CommandProcessor(shoppingCenter);

            var results = CommandsProcess(commandsProcessor);

            Console.WriteLine(results.ToString());
        }
        public static void Main()
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

            ShoppingCenter center = new ShoppingCenter();

            StringBuilder answer = new StringBuilder();

            int commands = int.Parse(Console.ReadLine());
            for (int i = 1; i <= commands; i++)
            {
                string command = Console.ReadLine();
                string commandResult = center.ProcessCommand(command);
                answer.AppendLine(commandResult);
            }

            Console.Write(answer);
        }
        public static void Main()
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

            ShoppingCenter center = new ShoppingCenter();

            StringBuilder answer = new StringBuilder();

            int commands = int.Parse(Console.ReadLine());

            for (int i = 1; i <= commands; i++)
            {
                string command       = Console.ReadLine();
                string commandResult = center.ProcessCommand(command);
                answer.AppendLine(commandResult);
            }

            Console.Write(answer);
        }
 public CommandProcessor(ShoppingCenter shoppingCenter)
 {
     this.shoppingCenter = shoppingCenter;
 }