public static void Main()
int percent = int.Parse(Console.ReadLine().Replace("%",""));
string command = Console.ReadLine().ToLower();
int batteryConsumption = int.Parse(command.Substring(command.Length - 3, 2));
percent -= batteryConsumption;
command = Console.ReadLine().ToLower();
Console.WriteLine("Phone Off");
Console.WriteLine("Connect charger -> {0}%", percent);
Console.WriteLine("Programs left -> {0}" , appsLeft);
Console.WriteLine("Successful complete -> {0}%", percent);