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

2, ['z', 'u', '3405', '9823', '8119', 'Q', 'a']
z, u

5, ['Q', '1213', 'v', 'z', 'M', '613', 'v', 'P', '7749', 'B', '1195', '6997', '8429', '1195', '2233', 'Q', 'w', '5633', '3437', '1047', 'V', '855', '7629', '8659', '6559', '1421', 'n', '2511', '7167', 'f']
Q, 1213, v, z, M

1, ['2871', 'C', '7323']

2871