You are tying to solve a problem in a very inefficient way.

But, put the data into a array and then select the answer from the array is how to do what you asked.

But, it is a very poor way to get the answer.

Tim S.