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.
One example is below.
Q: 3, ['a', '34', 'f', '931', '7', '3432', '13245', '762']
A: a, 931, 13245
Rationale: Here, every 3rd element from array are 'a', '931', and '13245'.
Q: 4, ['b', '1245', '9895', '7833', '3797', '4527', '7691', 'a', 'M', '4611', 'u', 'Z', '463', '227', 'D', 'x', '3551', '7679', '6405', 'Q', '6399', '2227', 'H', '3559', '7933', '7297', '4933', '903', 'w', '5091', '3999', 'z']
A:
b, 3797, M, 463, 3551, 6399, 7933, w