def get_list(args):
    if (args.rand != None):
        values = np.random.randint(1, 10000, size=args.rand)
        print('Generated {} random values between 1 - 10,000.'.format(args.rand))
        return values
    if (args.file != None):
        if (not os.path.exists(args.file)):
            print('[ERROR] File ``{}`` does not exist!!'.format(args.file))
            print('\t Please provide the path to a file.')
            exit()
        values = np.loadtxt(args.file, dtype=np.int32)
        return values
    if (args.list != None):
        values = np.asarray(args.list, dtype=np.int32)
        return values
def get_list(args):
    if (args.rand != None):
        values = np.random.randint(1, 10000, size=args.rand)
        print('Generated {} random values between 1 - 10,000.'.format(args.rand))
        return values
    if (args.file != None):
        if (not os.path.exists(args.file)):
            print('[ERROR] File ``{}`` does not exist!!'.format(args.file))
            print('\t Please provide the path to a file.')
            exit()
        values = np.loadtxt(args.file, dtype=np.int32)
        return values
    if (args.list != None):
        values = np.asarray(args.list, dtype=np.int32)
        return values