Hi, i need  to automatically get all the frequencies from a chord.
For example imagine i have chords as frequencies in messages:

Chord1  = [195, 174, 146, 116, 58(
Chord2  =  [ 155, 130, 103, 87, 43(

I want to do something like this: ?Chord1.giveMeAllFrequencies
And then get a list with the frequencies


Is it posible to automatically get all the frequencies that fit into each chord(all the frequencies that don't clash)?

I dont know too much about musical theory and i know i can do this by ear , but is there an automatically way to get this?

I hope is clear. 


Cheers