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: [42, 109, 58, 79, 226, 18, 98, 289, 114, 217, 291, 268, 165, 258, 60, 19, 136, 147, 14, 111] k=9
Output:
[51, 118, 67, 88, 235, 27, 107, 298, 123, 226, 300, 277, 174, 267, 69, 28, 145, 156, 23, 120]