My solution about overlap

import random

list1 = [1, 2, 3, 4, 5]

list2 = [2, 8, 9, 7, 6]

random_list1 = random.choice(list1)

random_list2 = random.choice(list2)

result = [random_list1, random_list2]

print(result)