public static void Main()
int V = int.Parse(Console.ReadLine());
int P1 = int.Parse(Console.ReadLine());
int P2 = int.Parse(Console.ReadLine());
double H = double.Parse(Console.ReadLine());
double totalWater = water1 + water2;
double overflow = totalWater - V;
Console.WriteLine("For {H} hours the pool overflows with {overflow:F1} liters.");
int percentageFull = (int)(totalWater / V * 100);
int pipe1Percentage = (int)(water1 / totalWater * 100);
int pipe2Percentage = (int)(water2 / totalWater * 100);
Console.WriteLine("The pool is " + percentageFull + "% full "+ " Pipe 1: " + pipe1Percentage +"%"+ " Pipe 2: "+ pipe2Percentage + "%");