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

3, ['5849', 'Z', 'D', '2013', '6731', 'N', 'i', '5901', '2763', 'I', '769', 'B', '4295', 'R', '7541', '8169', '5921']
5849, Z, D

8, ['I', '6691', 'E', '979', 'L', 'p', 'R', 't', '347', '8937', '9947', 'w', '3215', '9645', '5251', '5759', 'L', 'b', '4903', '283', '279', '2611']
I, 6691, E, 979, L, p, R, t

1, ['P', '611', 'I']

P