Given two unique integer lists and an integer target value, create a function to determine whether there is a pair of numbers that add up to the target value, where one number comes from one list and the other comes from the second list.
Return True
if there is a pair that adds up to the target value and False
otherwise.
sum_of_two([1, 2], [4, 5, 6], 5) ➞ True
sum_of_two([1, 2], [4, 5, 6], 8) ➞ True
sum_of_two([1, 2], [4, 5, 6], 3) ➞ False
sum_of_two([1, 2], [4, 5, 6], 9) ➞ False