You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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

[2,4,5,6,4,8,9,10], target=10
Solution: [2,8]
Why? 2 and 8 are present in the list and sum to 10 which was the target sum

New input: [22, 21, 11, 10, 9, 29, 8, 45, 36, 18, 4, 3, 26, 16, 30, 34, 44, 12, 15, 39], target=24
Solution:
[21, 3]