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
Example solution: [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.

Problem: [184, 139, 147, 157, 219, 259, 28, 225, 297, 82, 233, 187, 264, 281, 215, 250, 134, 190, 235, 26] k=20

Solution: [204, 159, 167, 177, 239, 279, 48, 245, 317, 102, 253, 207, 284, 301, 235, 270, 154, 210, 255, 46]