$ 0 0 on line 9 you create an array of two elements while in the the for loop on line 27 you try to access the first 4 elements of that array