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

4, ['k', 'D', '5057', 'w', 'f', 'P', 'v', '721']
k, D, 5057, w

2, ['L', 'p', 'd', 'j']
L, p

1, ['5429', '5103']

5429