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: 20, ['1147', 'y', '7209', 'm', '6745', 'T', '5873', 'd', '2277', 'n', 'h', 'A', '4687', '7673', 'E', '4951', 'R', 'x', '2101', '8733', 'q', '7651', '7833', 'Q', '9619', 'x', '5139', 'q', '4685', 'Y', 'r', '217', 'K', 'K', 'B', '6559', '4895', '1653', '5077', '2543', '6525', 'x', '2661', '7403', '9287', '2555', 'R', '8877', 'p']
Student:
1147, q, 6525