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

1, ['D', 'w', 'C', 'b']
D

4, ['9291', '3221', 'U', 'Z', 'O', 'v', '4309', '8355', 't', 'F']

9291, 3221, U, Z