Create a smart group query with or

I am attempting to create a random sample from an endnote library.  I’m following these instructions here

expertsearching.wordpress.com/2017/03/01/finding-a-random-set-of-citations-in-endnote/

and they are failing when I attempt to create a smart group using a text formatted list of record numbers.  Is there a way to copy a text list of record numbers into a smart group query and generate a list of references that corresponds to all of the record numbers?