package yukicoder; import java.util.Scanner; public class Main{ public static void main(String[] args){ new Main().solve(); } void solve(){ Scanner sc=new Scanner(System.in); int t=sc.nextInt(); for(int time=0;time0&&y[i]>0){ if(y1>y[i]){ x1=x[i]; y1=y[i]; } } } System.out.println(360.0*Math.asin(y1)*(1/(2*Math.PI))); } } }