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: [213, 85, 293, 173, 30, 177, 275, 147, 276, 286, 40, 218, 201, 188, 239, 224, 159, 120, 170, 50] k=18

[231, 103, 311, 191, 48, 195, 293, 165, 294, 304, 58, 236, 219, 206, 257, 242, 177, 138, 188, 68]