Given an array of integers, give the smallest n so that the sum of the first n elements is at least as large as the sum of the remaining elements.