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

1, ['a', 'U', '5385', 'v', 'O', 'y']
a

2, ['O', 'u', 'L', 'U', 'P', 'X', 'Q', '5443']

O, u