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, ['5841', '9783', 'w', '5379', '1915', '3907', '3045', 'h', '1951', 'u', '811', '731', 'a', 'B', '1777', 'K', 'I', '7405', 'I', '9215', '8617', 'x', '8197', 'h', '5085', '4653', '9897']
5841, 9783, w, 5379

13, ['u', 'k', 'Z', 'X', 't', 'Y', '6927', 't', 'M', '4833', '1859', 'J', 'I', '8623', '5087', 'R', 'j', '4945', 'T', '3283', '981', 'H', '3811', 'L', '3233', '3893', '8583', '6925', '3613']
u, k, Z, X, t, Y, 6927, t, M, 4833, 1859, J, I

2, ['p', 'Q', 's', 'g']

p, Q