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.
One example: [100, 291, 285, 281, 151, 189, 220, 235, 288, 160, 233, 198, 294, 269, 162, 152, 217, 247, 98, 145] k=14
Solution is here: [114, 305, 299, 295, 165, 203, 234, 249, 302, 174, 247, 212, 308, 283, 176, 166, 231, 261, 112, 159]
Explanation: 14 is added to all the elements of the input list.

Now, solve this: [138, 107, 112, 105, 44, 17, 198, 259, 87, 81, 274, 118, 199, 106, 225, 152, 131, 168, 18, 160] k=6
Solution:
[144, 113, 118, 111, 50, 23, 204, 265, 93, 87, 280, 124, 205, 112, 231, 158, 137, 174, 24, 166]