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: [274, 132, 277, 297, 145, 40, 152, 298, 147, 141, 11, 259, 228, 213, 255, 284, 144, 175, 194, 32] k=5

[279, 137, 282, 302, 150, 45, 157, 303, 152, 146, 16, 264, 233, 218, 260, 289, 149, 180, 199, 37]