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: [289, 50, 168, 129, 103, 230, 240, 164, 203, 137, 59, 220, 186, 218, 274, 151, 244, 75, 277, 158] k=19
Output:
[308, 69, 187, 148, 122, 249, 259, 183, 222, 156, 78, 239, 205, 237, 293, 170, 263, 94, 296, 177]