Teacher:In this task, you are given an input i,A where i is an integer and A is an array. You need to find every ith element of A starting with the 1st element.
Teacher: Now, understand the problem? Solve this instance: 4, ['8987', '8115', 'N', 'U', '665', '5033', 'Z', 'L', '1675', 'o', '4681', 'D', 'C', '8729', '9575', '3341', '5971', '6119', 's', '3501', '2345', '281', 's', '5949', '4313', 'g', '2963', 'i', '9277', 'z', '6573', '7711']
Student:
8987, 665, 1675, C, 5971, 2345, 4313, 9277