instruction:
In this task, you are given inputs k, i, and A, where k and i are integers and A is a list. You need to find every ith element of A starting from the kth element. The process stops when the position of the next ith element exceeds the length of the list.
question:
1, 1, ['5831', 'D', '3287', '3619', 'Y']
answer:
5831, D, 3287, 3619, Y


question:
1, 3, ['749', 'g', 'Y', 'K', 'V', 'T', '7273']
answer:
749, K, 7273


question:
5, 4, ['X', 'Z', 'U', 'e', '3059', '3831', 'x', 'W', 'm', '9103', '1829', '5997', 'Q', 'A', '3251', '5945', '1301', '459', '8551', 'R', 'D', 'V', 'X', '4953', '5987', '7397', '869', 'x', 'W', 'J']
answer:

3059, m, Q, 1301, D, 5987, W