In this task, you are given inputs i and A, where i is an integer and A is a list. You need to output the first i elements of A, starting with the 1st element in A. i will always have a value less than the length of A

6, ['9871', 'k', '7633', 'K', 'j', '6281', 'H', 'I', 'm', 'H', '2239', '8397', 'r', 'H', 'R', 'l', 'E', 'x', 'm', '8653', '5793']
9871, k, 7633, K, j, 6281

2, ['7975', '6803', '2219', 'x']
7975, 6803

4, ['c', '9615', 'y', '4985', 'h', 'X', '2043', '5711', '477', 'E', '5031', '1689', 'R', 'J', '1661', '971', 'h', 'd', '2753', '2731', 'R', 'A']

c, 9615, y, 4985