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: [242, 52, 134, 251, 184, 50, 23, 17, 220, 68, 104, 95, 38, 155, 58, 21, 222, 115, 16, 223] k=12
Output:
[254, 64, 146, 263, 196, 62, 35, 29, 232, 80, 116, 107, 50, 167, 70, 33, 234, 127, 28, 235]