Fill an array with numbers and print it.