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: [74, 61, 242, 266, 128, 193, 257, 175, 36, 94, 184, 296, 295, 172, 121, 77, 221, 72, 287, 173] k=5

[79, 66, 247, 271, 133, 198, 262, 180, 41, 99, 189, 301, 300, 177, 126, 82, 226, 77, 292, 178]