I have a signal with many different items and their amounts, for example [A=3, B=10, C=8]. I need to convert it to a signal that would contain only one of those items, doesn't matter which one, for example [A=3] or or [C=8].
I don't see a simple way to do it without building a minicomputer. Any ideas?