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

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

12, ['y', 'v', 'x', '3005', 'A', '8821', 'x', '9583', 'm', '207', 'y', '7705', 'x', 'q', 'H', 'i', 'O', 'l', 'm', 'Y', '1267', '2449', 'q', '7581', '3683', '3893']
y, v, x, 3005, A, 8821, x, 9583, m, 207, y, 7705

8, ['7055', 't', '8569', '2507', '7549', '6843', '3403', 'J', 'E', '425', 'N', 'D', 'n', 'x', 'r', '5899', '6179', 'P', '4943', '9707', 'C']

7055, t, 8569, 2507, 7549, 6843, 3403, J