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: [138, 107, 112, 105, 44, 17, 198, 259, 87, 81, 274, 118, 199, 106, 225, 152, 131, 168, 18, 160] k=6

[144, 113, 118, 111, 50, 23, 204, 265, 93, 87, 280, 124, 205, 112, 231, 158, 137, 174, 24, 166]