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

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

8, ['3801', '1569', 'Y', '9983', '1769', '2011', '9841', 'X', 'u', '8079', '9571', '4995', '6393', 'M', '3115', 'B', '4779', '3349', 'S', 'f', '6197', 'T', '5285', 'u', 'y', 'c', '3941', 'i', 'v', 's']
3801, 1569, Y, 9983, 1769, 2011, 9841, X

2, ['i', 'Y', 'P', 'T']

i, Y