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

5, ['y', 'm', '4981', '4767', 'd', '9489', 'T', '1335', '341', 'z', '7339']
y, m, 4981, 4767, d

1, ['5865', 'O', '5563', '3359', '4299', 'D', '2591', '1023', 'b', '5947']
5865

8, ['V', 'o', '7097', '1239', '5143', '8297', '2145', '8789', 'I', 'j', 'H', '5661', '6487', '241', 'y', '437', '8503', '9751', '1119', 'T', 't', '4617', '3099', 'D', 'l', '5069', 'j', '2279']

V, o, 7097, 1239, 5143, 8297, 2145, 8789