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

8, ['T', '1581', '5787', 't', 'S', 'L', '2927', 'H', 'O', '1669', 'A', 'w', 'x', '7431', '1499', '8495', 'l', '3647', '1397']
T, 1581, 5787, t, S, L, 2927, H