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: 2, ['X', 'Q', 'D', 'I', '5039', 'j', 'B', '777', 'u', '2185', 't', 'I', '4043', 'G', '8107', '737', 'B', 'y', '5385', '1787', 'W', 'o', 't', 'j', 'E', 'x', '9217', 'W', 's', 'h', 'H', 'u', '5377', 'B', 'A', '7071', '3867', '5231', 'V', '8829', '2285', '8109', '4849', '521', 'S', '901', '4289']
Student:
X, D, 5039, B, u, t, 4043, 8107, B, 5385, W, t, E, 9217, s, H, 5377, A, 3867, V, 2285, 4849, S, 4289