Given the task definition and input, reply with output. 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.

[245, 105, 236, 27, 180, 73, 83, 71, 162, 56, 172, 235, 267, 151, 122, 50, 171, 62, 58, 150] k=7

[252, 112, 243, 34, 187, 80, 90, 78, 169, 63, 179, 242, 274, 158, 129, 57, 178, 69, 65, 157]