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, 298, 155, 29, 268, 137, 270, 252, 281, 133, 110, 16, 239, 22, 208, 89, 234, 46, 93, 228] k=8

[50, 306, 163, 37, 276, 145, 278, 260, 289, 141, 118, 24, 247, 30, 216, 97, 242, 54, 101, 236]