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: 6, ['6825', '7061', 'M', 'A', 'a', '549', '5145', '6265', 'c', '2653', '3591', '1343', 'P', '2965', '8885', '9705', '1919', '2263', 'P', '267', '3909', '2169', '37', 'z', '357', '3877', 'B', '7573', 'd', 'F', 'h', '7749', '3931', '9281', '1703', '1883', '8547', '6713', '677', '7587', 'J', 'w', '8313', 'L', 'H', 'd', 'x', 'z', 'D']
Student:
6825, 5145, P, P, 357, h, 8547, 8313, D