import java.util.*; public class Whitespace{ public static void main(String[] arg){ Scanner sc = new Scanner(System.in); long max=0,sum=0,res = 0; int n = sc.nextInt(); int[] a = new int[n]; int[] b = new int[n]; for(int i = 0;imax)max = a[i] + b[i] * 4; } if(sum == n || sum == 0){ for(int i = 0;i