You will be given a definition of a task first, then some input of the task.
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.

[15, 165, 227, 186, 277, 264, 243, 290, 183, 134, 269, 291, 144, 91, 160, 256, 293, 216, 12, 14] k=20
Output:
[35, 185, 247, 206, 297, 284, 263, 310, 203, 154, 289, 311, 164, 111, 180, 276, 313, 236, 32, 34]