Is it possible to set a numerical list in Latex like
x = {2,3,7,12,15}
and then get and print only the one selected value from this list? Like a kind of index