public class ArrayExample {
    public static void main(String[] args) {
        int[] numbers = new int[] {5, 2, -1, 10};
        
        numbers[1] = 3;
        
        int sum = 0;
        for (int e : numbers) {
            sum += e;
        }
        System.out.println(sum);
    }
}