Given the task definition, example input & output, solve the new input case.
In this task, you are given a list of integers and an integer k. You need to add integer k to each element in the list and return the updated list.
Example: [100, 291, 285, 281, 151, 189, 220, 235, 288, 160, 233, 198, 294, 269, 162, 152, 217, 247, 98, 145] k=14
Output: [114, 305, 299, 295, 165, 203, 234, 249, 302, 174, 247, 212, 308, 283, 176, 166, 231, 261, 112, 159]
14 is added to all the elements of the input list.

New input case for you: [173, 299, 106, 121, 279, 39, 212, 267, 210, 131, 46, 47, 224, 122, 188, 149, 258, 79, 99, 257] k=8
Output:
[181, 307, 114, 129, 287, 47, 220, 275, 218, 139, 54, 55, 232, 130, 196, 157, 266, 87, 107, 265]