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? If you are still confused, see the following example:
3, ['a', '34', 'f', '931', '7', '3432', '13245', '762']
Solution: a, 931, 13245
Reason: Here, every 3rd element from array are 'a', '931', and '13245'.

Now, solve this instance: 18, ['8731', '3237', '4799', '5747', 'Z', 'A', 'N', '6127', 'j', '8307', '7671', '1025', 'T', '2473', '663', 'y', 'F', '3239', 'n', '4985', 'b', 'v', '4261', 'r', '2547', '123', 'N', 'C', '5009', 'n', 'F', '9039', '7715', '1033', '1747', 'A', '4817', 'x', 'z', 'x', '2987', 'u', 'M', '9267', '9291', 'e', 'o', 'U', 'A', 'Z']
Student:
8731, n, 4817