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

4, ['1965', '881', 'q', 'J', '2795', 'z', '5217', '4885', '961', '6247', 'e', 'O', 'E', 'f', '4025', 'L', 'b', '245', 'q']
1965, 881, q, J

2, ['3095', '5107', 'A', 'S', '1465']

3095, 5107