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

7, ['3995', 'v', '9421', 'o', 'm', 'J', '4385', 'y', '1793', '9711', 'e', 'R', '1673', 'Y', 'B', '8629', 'o', 'O', 'J', '5221', '2885', '4267', '9231']
3995, v, 9421, o, m, J, 4385

2, ['p', 'A', '9043', '5251']
p, A

1, ['Q', 'P', '9859', 'W', '723', '6905', '1187', '497', 'D', 'h', 'n', '6203', '8645', '1695', 'm', 'S', 's', '699', '8619', '4233', '6257', 'H', 'x', '319', '881', 'h', 'i', 'W', 'q', 'w']

Q