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: [167, 138, 35, 205, 150, 64, 181, 67, 277, 195, 219, 72, 24, 293, 254, 61, 234, 289, 25, 100] k=18

[185, 156, 53, 223, 168, 82, 199, 85, 295, 213, 237, 90, 42, 311, 272, 79, 252, 307, 43, 118]