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, ['D', 'w', 'C', 'b']
D

4, ['5749', 'Q', 'W', 'Q', '645', '6993', 'Z', '9929']
5749, Q, W, Q

8, ['w', 'w', 'W', '6167', 'r', 'Y', 'e', 'I', '4077', 'N', 'B', '9785', 'i', 'g', '8727', '1071', '5979', '7413', '5249', 'F', '5739', 'K', '3167', 'B', 'j', 'x', 'n']

w, w, W, 6167, r, Y, e, I