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, ['w', 'd', '3133', '5973', 'F', '1909', '1785', '3901', '1785', '905', '1789']
w

2, ['m', 'J', 'P', '245', 'R', 'U', 'w', 'B', 'c', '2059', 'h']
m, J

2, ['P', 'a', 'w', 'v', '991']

P, a