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 input: [100, 291, 285, 281, 151, 189, 220, 235, 288, 160, 233, 198, 294, 269, 162, 152, 217, 247, 98, 145] k=14
Example output: [114, 305, 299, 295, 165, 203, 234, 249, 302, 174, 247, 212, 308, 283, 176, 166, 231, 261, 112, 159]
Example explanation: 14 is added to all the elements of the input list.
Q: [144, 162, 35, 236, 245, 120, 209, 286, 180, 242, 14, 125, 235, 158, 106, 270, 89, 108, 223, 200] k=1
A:
[145, 163, 36, 237, 246, 121, 210, 287, 181, 243, 15, 126, 236, 159, 107, 271, 90, 109, 224, 201]