using System; namespace _07.Cake_Ingredients { class Program { static void Main(string[] args) { int count = 0; while (true) { string ingredient = Console.ReadLine(); if (ingredient.Equals("Bake!")) { Console.WriteLine($"Preparing cake with {count} ingredients."); break; } else { Console.WriteLine($"Adding ingredient {ingredient}."); count++; } } } } }