You will be given a definition of a task first, then some input 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

[34, 25, 11, 36, 15, 4, 18, 39, 2, 31, 22, 28, 41, 42, 35, 30, 8, 20, 23, 29], target=48
Output:
[18, 30]