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

8, ['a', 'd', 'p', 'g', '7951', '6899', 'N', '3223', 'F', 'y', '7461', 'R', 'R', '6465', '8899', 'L', 'm', 'q', 'Z', '2509', '8693', 'z', '5351', 'x', 'Z', 'b', 'z', 'R']
a, d, p, g, 7951, 6899, N, 3223

10, ['3191', '4379', '2483', '8165', 'm', 'G', 'B', 'b', '1567', 'e', '5811', 'q', '5217', 'a', '5707', '2061', '6375', '7929', '4183', 'v']
3191, 4379, 2483, 8165, m, G, B, b, 1567, e

2, ['Q', 'g', '3985', 'O', 'P', '1551', '1119', 'K', 'X', '7413', '2323', 'l']

Q, g