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: [277, 95, 149, 76, 173, 24, 54, 23, 19, 106, 51, 252, 219, 218, 221, 289, 73, 247, 145, 86] k=15

[292, 110, 164, 91, 188, 39, 69, 38, 34, 121, 66, 267, 234, 233, 236, 304, 88, 262, 160, 101]