assigning seventh index value to myArray and print to console