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: [238, 167, 224, 10, 13, 20, 136, 235, 28, 266, 298, 172, 118, 41, 299, 247, 145, 107, 159, 231] k=5

[243, 172, 229, 15, 18, 25, 141, 240, 33, 271, 303, 177, 123, 46, 304, 252, 150, 112, 164, 236]