Definition: 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.
Input: [32, 210, 169, 297, 97, 87, 62, 109, 60, 177, 72, 197, 48, 89, 299, 142, 160, 228, 103, 82] k=18
Output:
[50, 228, 187, 315, 115, 105, 80, 127, 78, 195, 90, 215, 66, 107, 317, 160, 178, 246, 121, 100]