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

4, ['I', 'r', '8135', 'n', '1509', '4355', '7635', '3495', '5451', '8059', 'u', '831']
I, r, 8135, n

2, ['k', '869', 'F', '3443', 'u', '4307', 'n', 'x', 'i', 'i', 'R', '6119', 'b', 'X', 'G']

k, 869