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: [58, 281, 13, 81, 113, 27, 256, 193, 181, 215, 94, 93, 211, 277, 199, 219, 198, 51, 166, 286] k=1
Output:
[59, 282, 14, 82, 114, 28, 257, 194, 182, 216, 95, 94, 212, 278, 200, 220, 199, 52, 167, 287]