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

7, ['P', 'v', '8259', '3283', 'f', '9409', 'c', 'Y', '2253', 'P', '4549', '3015', '8515', 'e', 's', '8567', 's', '2611', '153', 'p', '1465', '1435', 'r', 'n']
P, v, 8259, 3283, f, 9409, c

1, ['b', '9277', 'h', 'B', 't', 'Y', 'k', 'v', '4985', 'n', '2427', '8867', 'J', 'L', '3785', 'B', '1343', '4597', '2123', '5065', 'i', '4133', 'e', 'G', 'M', 'V', '9761', '75', 'e', '5835']
b

3, ['g', 'U', 'V', '5773', 'I', '2113', '7875']

g, U, V