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: [37, 187, 17, 25, 100, 112, 130, 127, 52, 262, 202, 97, 16, 155, 158, 102, 28, 39, 248, 58] k=20

[57, 207, 37, 45, 120, 132, 150, 147, 72, 282, 222, 117, 36, 175, 178, 122, 48, 59, 268, 78]