I am looking for an efficient and fast way to select a value: after 5 rows the 6th row value should be saved in variable X, and skip next 5 rows and take value 6th row and save in variable X. Note: Every time remove previous value of x
data=(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17)