How to test whether a number is harmony with a given set or not?



I have a question. Two sets of numerical values are given. Then a new
single numerical value is being test to see whether it should belong to
set A or B. How can I measure the fitness of this single numerical
value to the two sets of given values from a statistic way?

regards

Sticker

.