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, ['G', '2711', '4429']
G

9, ['2887', '2445', '6699', 'G', '5867', '9851', '7493', '4543', '6033', 'U', 't', 't', 'I', '9169', '3105', '5315', '3481', 'X', '1143', 'j']
2887, 2445, 6699, G, 5867, 9851, 7493, 4543, 6033

9, ['1027', 'C', '1487', '901', '363', 'K', '2673', '4707', 'P', '577', '7797', 't', '6831', '7313', 'L', '1269', 'a', '3397', 'q']

1027, C, 1487, 901, 363, K, 2673, 4707, P