public static void Main()
var V = int.Parse(Console.ReadLine());
var P1 = int.Parse(Console.ReadLine());
var P2 = int.Parse(Console.ReadLine());
var H = double.Parse(Console.ReadLine());
var TotalWater = Tube1 + Tube2;
var overflow = TotalWater-V;
Console.WriteLine("For {0} hours the pool overflows with {1:f1} liters." , H, overflow);
var percentPool = TotalWater/V*100;
var percentT1 = Tube1/TotalWater*100;
var percentT2 = Tube2/TotalWater*100;
Console.WriteLine("The pool is {0}% full. Pipe 1: {1}%. Pipe 2: {2}%.", percentPool, Math.Round(percentT1, 0), Math.Round(percentT2, 0));