Create an array integer and print values at even indices