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: [167, 138, 35, 205, 150, 64, 181, 67, 277, 195, 219, 72, 24, 293, 254, 61, 234, 289, 25, 100] k=18
Solution:
[185, 156, 53, 223, 168, 82, 199, 85, 295, 213, 237, 90, 42, 311, 272, 79, 252, 307, 43, 118]