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, 2, ['X', '7731', '1127', 'B', 'r', 'h', '6561', 'n', '8865', '3913', '6805', '719', '149']

SOLUTION: X, 1127, r, 6561, 8865, 6805, 149

PROBLEM: 1, 3, ['Y', '9865', '9633', 'r', 'P', '9391', '3095', 'p']

SOLUTION: Y, r, 3095

PROBLEM: 1, 2, ['q', '2307', '5585', '3895', 'L', '7261', '6429']

SOLUTION:
q, 5585, L, 6429