using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; class TEST{ static void Main(){ Sol mySol =new Sol(); mySol.Solve(); } } class Sol{ public void Solve(){ double right=1e9+10; double left=0.0; for(int t=0;t<100;t++){ if (f((left * 2 + right) / 3) < f((left + right * 2) / 3)){ right = (left + right * 2) / 3; } else { left = (left * 2 + right) / 3; } } int x=(int)((right+left)*0.5); //Console.WriteLine(x); if(x==(int)1e9){ Console.WriteLine(1);return; } int ans=-1; double val=4e9; for(int i=x-3;iint.Parse(e));} static long[] rla(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>long.Parse(e));} static double[] rda(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>double.Parse(e));} }