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

4, ['G', '1401', '4429', '3961', '2905', 'D', 'k', '597', '7039', 's', '9955', 'd', '5657', '1259', 'G', 'b', 'M', '915', 'p']
G, 1401, 4429, 3961

1, ['y', 'o', '8433']
y

3, ['m', '4015', '6841', 'r', '4657', 'H', '6029', 'W', '4305', '9447', '2375', 'i', 'b', '8363']

m, 4015, 6841