source_code: import java.io.BufferedOutputStream;
  import java.io.BufferedReader;
  import java.io.IOException;
  import java.io.InputStreamReader;
  import java.io.PrintWriter;
  import java.util.StringTokenizer;
  
  public class Equator {
  	public static BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
  	public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));
  	public static StringTokenizer st;
  	
  	public static void main(String[] args) throws IOException {
  		int n = nextInt();
  		int[] a = intArray(n);
  		
  		long s = 0;
  		for (int x : a)
  			s += x;
  		
  		long m = 0;
  		for (int i = 0; i < n; i++) {
  			m += a[i];
  			if (m*2 >= s) {
  				System.out.println(i+1);
  				return;
  			}
  		}
  	}
  	
  	public static String nextLine() throws IOException {
  		return in.readLine();
  	}
  
  	public static String nextString() throws IOException {
  		while (st == null || !st.hasMoreTokens())
  			st = new StringTokenizer(in.readLine());
  		return st.nextToken();
  	}
  
  	public static int nextInt() throws IOException {
  		return Integer.parseInt(nextString());
  	}
  
  	public static long nextLong() throws IOException {
  		return Long.parseLong(nextString());
  	}
  
  	public static int[] intArray(int n) throws IOException {
  		int[] a = new int[n];
  		for (int i = 0; i < n; i++)
  			a[i] = nextInt();
  		return a;
  	}
  
  	public static int[][] intArray(int n, int m) throws IOException {
  		int[][] a = new int[n][m];
  		for (int i = 0; i < n; i++)
  			for (int j = 0; j < m; j++)
  				a[i][j] = nextInt();
  		return a;
  	}
  
  	public static long[] longArray(int n) throws IOException {
  		long[] a = new long[n];
  		for (int i = 0; i < n; i++)
  			a[i] = nextLong();
  		return a;
  	}
  }