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

1, ['i', '8243', '9749', '2219']
i

5, ['g', '6045', 'r', 'J', '4885', '9865', 's', 'X', '7397', '9055', '8627', 'T', '7501', '2457', 'Z', 'F', '7395', '5741', 'C', 'F', 'i', '4825', '6549']
g, 6045, r, J, 4885

2, ['X', 'R', '8419', 'X', 'y']

X, R