TASK DEFINITION: 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.
PROBLEM: 1, 1, ['1941', '5799']

SOLUTION: 1941, 5799

PROBLEM: 1, 6, ['2041', '9777', '251', 'Q', '7287', '755', '4663', 'c', 'l', '5541', 'y', 'i']

SOLUTION: 2041, 4663

PROBLEM: 2, 1, ['X', '501', 'n', '8197', '6523', 'i', 'Z', '9127', '5493', '7335', 'C']

SOLUTION:
501, n, 8197, 6523, i, Z, 9127, 5493, 7335, C