Definition: 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.
Input: 6, ['7981', '9849', 'y', 'x', '29', '4753', '8531', '9631', '3833', '6243', '7335', '685', 'i', '7375', '8561', 'L', 'F', 'A', '7435', '1709', 'n', 'T', '7899', 'A', '9377', 'Z', '4893', '157', '4007', 'X', 't', 'w', '8329', 's']
Output:
7981, 8531, i, 7435, 9377, t