using System;
public class Program
{
public static void Main()
// Should to break into the function with 1 input param, then in main just call the function to use
int bottle = 26; // Should input instead of define variable
int totalBottle = 0;
while (bottle >= 10) {
totalBottle = totalBottle + (bottle / 10) * 10; // Calculate empty bottle number after divide 10
bottle = bottle % 10 + bottle / 10 * 3; // Calculate the remain bottle
}
totalBottle = totalBottle + bottle;
Console.WriteLine("Total Bottle: {0}", totalBottle);