Instructions: 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: [272, 161, 173, 67, 81, 218, 106, 51, 257, 56, 202, 103, 110, 274, 277, 199, 18, 36, 270, 79] k=18
Output:
[290, 179, 191, 85, 99, 236, 124, 69, 275, 74, 220, 121, 128, 292, 295, 217, 36, 54, 288, 97]