Brute force as suggested above could work pretty well, especially when we’re considering a handful of those only.
For something a tad more snazzy: