You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list

Let me give you an example: [2,4,5,6,4,8,9,10], target=10
The answer to this example can be: [2,8]
Here is why: 2 and 8 are present in the list and sum to 10 which was the target sum

OK. solve this:
[8, 34, 44, 22, 20, 41, 49, 46, 18, 13, 47, 11, 15, 38, 42, 3, 48, 17, 4, 14], target=18
Answer:
[15, 3]