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, ['8385', 'S', '8579', 'H', 'i', 'b', 'l']
8385

4, ['m', 'R', '8585', '5383', 't', '5309', 'e', '5017', '1347', 'e', '3715', 't', 'h']
m, R, 8585, 5383

1, ['Z', 'w', 'B', 'V', '1595', '3365', '4297', '6411', 'j', '799', '8407', 'a', 'J', '1349', '9765', 'c', 'A', '7861', 'M', 'w', 'S', '5515', 'K', '9483', '945', '3647', 'C', '959', 'b']

Z